|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.ContourStyle
@Equality public class ContourStyle
Style for contour plots.
Constructor Summary | |
---|---|
ContourStyle(Color color,
int nLevel,
double offset,
int nSmooth,
LevelMode levelMode)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Color |
getColor()
Returns contour colour. |
Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style. |
int |
getLevelCount()
Returns requested number of contours. |
LevelMode |
getLevelMode()
Returns level determination algorithm. |
double |
getOffset()
Returns the offset of the first contour from zero. |
int |
getSmoothing()
Returns smoothing kernel width. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContourStyle(Color color, int nLevel, double offset, int nSmooth, LevelMode levelMode)
color
- contour line colournLevel
- number of contoursoffset
- offset from zero of first contour;
should be in the range 0..1nSmooth
- smoothing kernel widthlevelMode
- level determination algorithmMethod Detail |
---|
public Color getColor()
public int getLevelCount()
public double getOffset()
public int getSmoothing()
public LevelMode getLevelMode()
public Icon getLegendIcon()
Style
getLegendIcon
in interface Style
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |