|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.labels.ItemLabelPosition
The attributes that control the position of the label for each data item on a chart. Instances of this class are immutable.
Constructor Summary | |
ItemLabelPosition()
Creates a new position record with default settings. |
|
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
TextAnchor textAnchor)
Creates a new position record (with zero rotation). |
|
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
TextAnchor textAnchor,
TextAnchor rotationAnchor,
double angle)
Creates a new position record. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Tests this object for equality with an arbitrary object. |
double |
getAngle()
Returns the angle of rotation for the label. |
ItemLabelAnchor |
getItemLabelAnchor()
Returns the item label anchor. |
TextAnchor |
getRotationAnchor()
Returns the rotation anchor point. |
TextAnchor |
getTextAnchor()
Returns the text anchor. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ItemLabelPosition()
public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor)
itemLabelAnchor
- the item label anchor (null
not permitted).textAnchor
- the text anchor (null
not permitted).public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
itemLabelAnchor
- the item label anchor (null
not permitted).textAnchor
- the text anchor (null
not permitted).rotationAnchor
- the rotation anchor (null
not permitted).angle
- the rotation angle (in radians).Method Detail |
public ItemLabelAnchor getItemLabelAnchor()
null
).public TextAnchor getTextAnchor()
null
).public TextAnchor getRotationAnchor()
null
).public double getAngle()
public boolean equals(java.lang.Object object)
object
- the object (null
permitted).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |