| java.lang.Object org.jfree.chart.plot.Marker org.jfree.chart.plot.CategoryMarker
Method Summary | |
public boolean | equals(Object obj) Tests the marker for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public boolean | getDrawAsLine() Returns the flag that controls whether the marker is drawn as a region
or a line. | public Comparable | getKey() Returns the key. | public void | setDrawAsLine(boolean drawAsLine) Sets the flag that controls whether the marker is drawn as a region or
as a line, and sends a
MarkerChangeEvent to all registered
listeners. | public void | setKey(Comparable key) Sets the key and sends a
MarkerChangeEvent to all registered
listeners. |
CategoryMarker | public CategoryMarker(Comparable key)(Code) | | Creates a new category marker for the specified category.
Parameters: key - the category key. |
CategoryMarker | public CategoryMarker(Comparable key, Paint paint, Stroke stroke)(Code) | | Creates a new category marker.
Parameters: key - the key. Parameters: paint - the paint (null not permitted). Parameters: stroke - the stroke (null not permitted). |
CategoryMarker | public CategoryMarker(Comparable key, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha)(Code) | | Creates a new category marker.
Parameters: key - the key. Parameters: paint - the paint (null not permitted). Parameters: stroke - the stroke (null not permitted). Parameters: outlinePaint - the outline paint (null permitted). Parameters: outlineStroke - the outline stroke (null permitted). Parameters: alpha - the alpha transparency. |
equals | public boolean equals(Object obj)(Code) | | Tests the marker for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getDrawAsLine | public boolean getDrawAsLine()(Code) | | Returns the flag that controls whether the marker is drawn as a region
or a line.
A line. |
setDrawAsLine | public void setDrawAsLine(boolean drawAsLine)(Code) | | Sets the flag that controls whether the marker is drawn as a region or
as a line, and sends a
MarkerChangeEvent to all registered
listeners.
Parameters: drawAsLine - the flag. |
setKey | public void setKey(Comparable key)(Code) | | Sets the key and sends a
MarkerChangeEvent to all registered
listeners.
Parameters: key - the key (null not permitted). since: 1.0.3 |
|
|