|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.Marker
public abstract class Marker
The base class for markers that can be added to plots to highlight a value or range of values.
Constructor Summary | |
---|---|
protected |
Marker()
Creates a new marker with default attributes. |
protected |
Marker(java.awt.Paint paint)
Constructs a new marker. |
protected |
Marker(java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
float alpha)
Constructs a new marker. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a clone of the marker. |
boolean |
equals(java.lang.Object obj)
Tests the marker for equality with an arbitrary object. |
float |
getAlpha()
Returns the alpha transparency. |
java.lang.String |
getLabel()
Returns the label (if null no label is displayed). |
org.jfree.ui.RectangleAnchor |
getLabelAnchor()
Returns the label anchor. |
java.awt.Font |
getLabelFont()
Returns the label font. |
org.jfree.ui.RectangleInsets |
getLabelOffset()
Returns the label offset. |
org.jfree.ui.LengthAdjustmentType |
getLabelOffsetType()
Returns the label offset type. |
java.awt.Paint |
getLabelPaint()
Returns the label paint. |
org.jfree.ui.TextAnchor |
getLabelTextAnchor()
Returns the label text anchor. |
java.awt.Paint |
getOutlinePaint()
Returns the outline paint. |
java.awt.Stroke |
getOutlineStroke()
Returns the outline stroke. |
java.awt.Paint |
getPaint()
Returns the paint. |
java.awt.Stroke |
getStroke()
Returns the stroke. |
void |
setAlpha(float alpha)
Sets the alpha transparency. |
void |
setLabel(java.lang.String label)
Sets the label (if null no label is displayed). |
void |
setLabelAnchor(org.jfree.ui.RectangleAnchor anchor)
Sets the label anchor. |
void |
setLabelFont(java.awt.Font font)
Sets the label font. |
void |
setLabelOffset(org.jfree.ui.RectangleInsets offset)
Sets the label offset. |
void |
setLabelOffsetType(org.jfree.ui.LengthAdjustmentType adj)
Sets the label offset type. |
void |
setLabelPaint(java.awt.Paint paint)
Sets the label paint. |
void |
setLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
Sets the label text anchor. |
void |
setOutlinePaint(java.awt.Paint paint)
Sets the outline paint. |
void |
setOutlineStroke(java.awt.Stroke stroke)
Sets the outline stroke. |
void |
setPaint(java.awt.Paint paint)
Sets the paint. |
void |
setStroke(java.awt.Stroke stroke)
Sets the stroke. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Marker()
protected Marker(java.awt.Paint paint)
paint
- the paint (null
not permitted).protected Marker(java.awt.Paint paint, java.awt.Stroke stroke, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, float alpha)
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.awt.Paint getPaint()
null
).public void setPaint(java.awt.Paint paint)
paint
- the paint (null
not permitted).public java.awt.Stroke getStroke()
null
).public void setStroke(java.awt.Stroke stroke)
stroke
- the stroke (null
not permitted).public java.awt.Paint getOutlinePaint()
null
).public void setOutlinePaint(java.awt.Paint paint)
paint
- the paint (null
permitted).public java.awt.Stroke getOutlineStroke()
null
).public void setOutlineStroke(java.awt.Stroke stroke)
stroke
- the stroke (null
permitted).public float getAlpha()
public void setAlpha(float alpha)
alpha
- the alpha transparency.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 org.jfree.ui.RectangleAnchor getLabelAnchor()
null
).public void setLabelAnchor(org.jfree.ui.RectangleAnchor anchor)
anchor
- the anchor (null
not permitted).public org.jfree.ui.RectangleInsets getLabelOffset()
null
).public void setLabelOffset(org.jfree.ui.RectangleInsets offset)
offset
- the label offset (null
not permitted).public org.jfree.ui.LengthAdjustmentType getLabelOffsetType()
null
).public void setLabelOffsetType(org.jfree.ui.LengthAdjustmentType adj)
adj
- the type (null
not permitted).public org.jfree.ui.TextAnchor getLabelTextAnchor()
null
).public void setLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
anchor
- the label text anchor (null
not permitted).public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- never.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |