|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.Marker
org.jfree.chart.plot.CategoryMarker
public class CategoryMarker
A marker for a category.
CategoryPlot.addDomainMarker(CategoryMarker)
,
Serialized FormConstructor Summary | |
---|---|
CategoryMarker(java.lang.Comparable key)
Creates a new category marker. |
|
CategoryMarker(java.lang.Comparable key,
java.awt.Paint paint,
java.awt.Stroke stroke)
Creates a new category marker. |
|
CategoryMarker(java.lang.Comparable key,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
float alpha)
Creates a new category marker. |
Method Summary | |
---|---|
boolean |
equals(java.lang.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. |
java.lang.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. |
Methods inherited from class org.jfree.chart.plot.Marker |
---|
clone, getAlpha, getLabel, getLabelAnchor, getLabelFont, getLabelOffset, getLabelOffsetType, getLabelPaint, getLabelTextAnchor, getOutlinePaint, getOutlineStroke, getPaint, getStroke, setAlpha, setLabel, setLabelAnchor, setLabelFont, setLabelOffset, setLabelOffsetType, setLabelPaint, setLabelTextAnchor, setOutlinePaint, setOutlineStroke, setPaint, setStroke |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CategoryMarker(java.lang.Comparable key)
key
- the category key.public CategoryMarker(java.lang.Comparable key, java.awt.Paint paint, java.awt.Stroke stroke)
key
- the key.paint
- the paint (null
not permitted).stroke
- the stroke (null
not permitted).public CategoryMarker(java.lang.Comparable key, java.awt.Paint paint, java.awt.Stroke stroke, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, float alpha)
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.Method Detail |
---|
public java.lang.Comparable getKey()
public boolean getDrawAsLine()
public void setDrawAsLine(boolean drawAsLine)
drawAsLine
- the flag.public boolean equals(java.lang.Object obj)
equals
in class Marker
obj
- the object (null
permitted).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |