|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.Marker
A constant value that is drawn on a chart as a marker, usually as a horizontal or a vertical line.
In addition to a value, this class defines paint attributes to give some control over the appearance of the marker. The renderer can, however, override these settings if it chooses.
Constructor Summary | |
Marker(double value)
Constructs a new marker. |
|
Marker(double value,
java.awt.Paint outlinePaint)
Constructs a new marker. |
|
Marker(double value,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
java.awt.Paint paint,
float alpha)
Constructs a new marker. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Tests an object for equality with this instance. |
float |
getAlpha()
Returns the alpha transparency. |
java.lang.String |
getLabel()
Returns the label (if null no label is displayed). |
java.awt.Font |
getLabelFont()
Returns the label font. |
java.awt.Paint |
getLabelPaint()
Returns the label paint. |
MarkerLabelPosition |
getLabelPosition()
Returns the label position. |
java.awt.Paint |
getOutlinePaint()
Returns the outline paint. |
java.awt.Stroke |
getOutlineStroke()
Returns the outline stroke. |
java.awt.Paint |
getPaint()
Returns the paint. |
double |
getValue()
Returns the value. |
void |
setLabel(java.lang.String label)
Sets the label (if null no label is displayed). |
void |
setLabelFont(java.awt.Font font)
Sets the label font. |
void |
setLabelPaint(java.awt.Paint paint)
Sets the label paint. |
void |
setLabelPosition(MarkerLabelPosition position)
Sets the label position. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Marker(double value)
value
- the value.public Marker(double value, java.awt.Paint outlinePaint)
value
- the value.outlinePaint
- the paint.public Marker(double value, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, java.awt.Paint paint, float alpha)
value
- the value.outlinePaint
- the outline paint (null
not permitted).outlineStroke
- the outline stroke (null
not permitted).paint
- the paint (null
not permitted).alpha
- the alpha transparency.Method Detail |
public double getValue()
public java.awt.Paint getOutlinePaint()
public java.awt.Stroke getOutlineStroke()
public java.awt.Paint getPaint()
public float getAlpha()
public java.lang.String getLabel()
null
no label is displayed).
null
).public void setLabel(java.lang.String label)
null
no label is displayed).
label
- the label (null
permitted).public java.awt.Font getLabelFont()
null
).public void setLabelFont(java.awt.Font font)
font
- the font (null
not permitted).public java.awt.Paint getLabelPaint()
public void setLabelPaint(java.awt.Paint paint)
paint
- the paint (null
not permitted).public MarkerLabelPosition getLabelPosition()
public void setLabelPosition(MarkerLabelPosition position)
position
- the position.public boolean equals(java.lang.Object object)
object
- the object to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |