org.jfree.chart.plot
Class CategoryMarker
- Cloneable, Serializable
implements Cloneable, Serializable
A marker for a category.
CategoryMarker(Comparable key)- Creates a new category marker.
|
CategoryMarker(Comparable key, Paint paint, Stroke stroke)- Creates a new category marker.
|
CategoryMarker(Comparable key, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha)- Creates a new category marker.
|
boolean | equals(Object obj)- Tests the marker for equality with an arbitrary object.
|
boolean | getDrawAsLine()- Returns the flag that controls whether the marker is drawn as a region
or a line.
|
Comparable | getKey()- Returns the key.
|
void | setDrawAsLine(boolean drawAsLine)- Sets the flag that controls whether the marker is drawn as a region or
as a line.
|
clone, equals, getAlpha, getLabel, getLabelAnchor, getLabelFont, getLabelOffset, getLabelOffsetType, getLabelPaint, getLabelTextAnchor, getOutlinePaint, getOutlineStroke, getPaint, getStroke, setAlpha, setLabel, setLabelAnchor, setLabelFont, setLabelOffset, setLabelOffsetType, setLabelPaint, setLabelTextAnchor, setOutlinePaint, setOutlineStroke, setPaint, setStroke |
CategoryMarker
public CategoryMarker(Comparable key)
Creates a new category marker.
CategoryMarker
public CategoryMarker(Comparable key,
Paint paint,
Stroke stroke) Creates a new category marker.
key - the key.paint - the paint (null not permitted).stroke - the stroke (null not permitted).
CategoryMarker
public CategoryMarker(Comparable key,
Paint paint,
Stroke stroke,
Paint outlinePaint,
Stroke outlineStroke,
float alpha) Creates a new category marker.
key - the key.paint - the paint (null not permitted).stroke - the stroke (null not permitted).outlinePaint - the outline paint (null permitted).outlineStroke - the outline stroke (null permitted).alpha - the alpha transparency.
equals
public boolean equals(Object obj)
Tests the marker for equality with an arbitrary object.
- equals in interface Marker
obj - the object (null permitted).
getDrawAsLine
public boolean getDrawAsLine()
Returns the flag that controls whether the marker is drawn as a region
or a line.
getKey
public Comparable getKey()
Returns the key.
setDrawAsLine
public void setDrawAsLine(boolean drawAsLine)
Sets the flag that controls whether the marker is drawn as a region or
as a line.