| java.lang.Object org.jfree.chart.labels.ItemLabelPosition
ItemLabelPosition | public class ItemLabelPosition implements Serializable(Code) | | The attributes that control the position of the label for each data item on
a chart. Instances of this class are immutable.
|
Method Summary | |
public boolean | equals(Object obj) Tests this object for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getAngle() Returns the angle of rotation for the label. | public ItemLabelAnchor | getItemLabelAnchor() Returns the item label anchor. | public TextAnchor | getRotationAnchor() Returns the rotation anchor point. | public TextAnchor | getTextAnchor() Returns the text anchor. |
ItemLabelPosition | public ItemLabelPosition()(Code) | | Creates a new position record with default settings.
|
ItemLabelPosition | public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor)(Code) | | Creates a new position record (with zero rotation).
Parameters: itemLabelAnchor - the item label anchor (null not permitted). Parameters: textAnchor - the text anchor (null not permitted). |
ItemLabelPosition | public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)(Code) | | Creates a new position record. The item label anchor is a point
relative to the data item (dot, bar or other visual item) on a chart.
The item label is aligned by aligning the text anchor with the
item label anchor.
Parameters: itemLabelAnchor - the item label anchor (null not permitted). Parameters: textAnchor - the text anchor (null not permitted). Parameters: rotationAnchor - the rotation anchor (null not permitted). Parameters: angle - the rotation angle (in radians). |
equals | public boolean equals(Object obj)(Code) | | Tests this object for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getAngle | public double getAngle()(Code) | | Returns the angle of rotation for the label.
The angle (in radians). |
getItemLabelAnchor | public ItemLabelAnchor getItemLabelAnchor()(Code) | | Returns the item label anchor.
The item label anchor (never null ). |
getRotationAnchor | public TextAnchor getRotationAnchor()(Code) | | Returns the rotation anchor point.
The rotation anchor point (never null ). |
getTextAnchor | public TextAnchor getTextAnchor()(Code) | | Returns the text anchor.
The text anchor (never null ). |
|
|