|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.axis.CategoryLabelPosition
public class CategoryLabelPosition
The attributes that control the position of the labels for the categories on
a CategoryAxis. Instances of this class are immutable and other
JFreeChart classes rely upon this.
| Constructor Summary | |
|---|---|
CategoryLabelPosition()
Creates a new position record with default settings. |
|
CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor)
Creates a new category label position record. |
|
CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor,
CategoryLabelWidthType widthType,
float widthRatio)
Creates a new category label position record. |
|
CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle,
CategoryLabelWidthType widthType,
float widthRatio)
Creates a new position record. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
double |
getAngle()
Returns the angle of rotation for the label. |
org.jfree.ui.RectangleAnchor |
getCategoryAnchor()
Returns the item label anchor. |
org.jfree.text.TextBlockAnchor |
getLabelAnchor()
Returns the text block anchor. |
org.jfree.ui.TextAnchor |
getRotationAnchor()
Returns the rotation anchor point. |
float |
getWidthRatio()
Returns the ratio used to calculate the maximum category label width. |
CategoryLabelWidthType |
getWidthType()
Returns the width calculation type. |
int |
hashCode()
Returns a hash code for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryLabelPosition()
public CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor)
categoryAnchor - the category anchor (null not
permitted).labelAnchor - the label anchor (null not permitted).
public CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor,
CategoryLabelWidthType widthType,
float widthRatio)
categoryAnchor - the category anchor (null not
permitted).labelAnchor - the label anchor (null not permitted).widthType - the width type (null not permitted).widthRatio - the maximum label width as a percentage (of the
category space or the range space).
public CategoryLabelPosition(org.jfree.ui.RectangleAnchor categoryAnchor,
org.jfree.text.TextBlockAnchor labelAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle,
CategoryLabelWidthType widthType,
float widthRatio)
categoryAnchor - the category anchor (null not
permitted).labelAnchor - the label anchor (null not permitted).rotationAnchor - the rotation anchor (null not
permitted).angle - the rotation angle (null not permitted).widthType - the width type (null not permitted).widthRatio - the maximum label width as a percentage (of the
category space or the range space).| Method Detail |
|---|
public org.jfree.ui.RectangleAnchor getCategoryAnchor()
null).public org.jfree.text.TextBlockAnchor getLabelAnchor()
null).public org.jfree.ui.TextAnchor getRotationAnchor()
null).public double getAngle()
public CategoryLabelWidthType getWidthType()
null).public float getWidthRatio()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||