|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.axis.CategoryLabelPositions
Records the label positions for a category axis.
Field Summary | |
static CategoryLabelPositions |
DOWN_45
DOWN_45 category label positions. |
static CategoryLabelPositions |
DOWN_90
DOWN_90 category label positions. |
static CategoryLabelPositions |
STANDARD
STANDARD category label positions. |
static CategoryLabelPositions |
UP_45
UP_45 category label positions. |
static CategoryLabelPositions |
UP_90
UP_90 category label positions. |
Constructor Summary | |
CategoryLabelPositions()
Default constructor. |
|
CategoryLabelPositions(CategoryLabelPosition positionForAxisAtTop,
CategoryLabelPosition positionForAxisAtBottom,
CategoryLabelPosition positionForAxisAtLeft,
CategoryLabelPosition positionForAxisAtRight)
Creates a new position specification. |
Method Summary | |
static CategoryLabelPositions |
createDownRotationLabelPositions(double angle)
Creates a new instance where the category labels angled downwards by the specified amount. |
static CategoryLabelPositions |
createUpRotationLabelPositions(double angle)
Creates a new instance where the category labels angled upwards by the specified amount. |
CategoryLabelPosition |
getLabelPosition(org.jfree.ui.RectangleEdge edge)
Returns the category label position specification for an axis at the given location. |
static CategoryLabelPositions |
replaceBottomPosition(CategoryLabelPositions base,
CategoryLabelPosition bottom)
Returns a new instance based on an existing instance but with the bottom position changed. |
static CategoryLabelPositions |
replaceLeftPosition(CategoryLabelPositions base,
CategoryLabelPosition left)
Returns a new instance based on an existing instance but with the left position changed. |
static CategoryLabelPositions |
replaceRightPosition(CategoryLabelPositions base,
CategoryLabelPosition right)
Returns a new instance based on an existing instance but with the right position changed. |
static CategoryLabelPositions |
replaceTopPosition(CategoryLabelPositions base,
CategoryLabelPosition top)
Returns a new instance based on an existing instance but with the top position changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static CategoryLabelPositions STANDARD
public static CategoryLabelPositions UP_90
public static CategoryLabelPositions DOWN_90
public static CategoryLabelPositions UP_45
public static CategoryLabelPositions DOWN_45
Constructor Detail |
public CategoryLabelPositions()
public CategoryLabelPositions(CategoryLabelPosition positionForAxisAtTop, CategoryLabelPosition positionForAxisAtBottom, CategoryLabelPosition positionForAxisAtLeft, CategoryLabelPosition positionForAxisAtRight)
positionForAxisAtTop
- the label position info used when an axis is at the top;positionForAxisAtBottom
- the label position info used when an axis is at the bottom;positionForAxisAtLeft
- the label position info used when an axis is at the left;positionForAxisAtRight
- the label position info used when an axis is at the right;Method Detail |
public static CategoryLabelPositions createUpRotationLabelPositions(double angle)
angle
- the rotation angle (should be < Math.PI / 2.0).
public static CategoryLabelPositions createDownRotationLabelPositions(double angle)
angle
- the rotation angle (should be < Math.PI / 2.0).
public CategoryLabelPosition getLabelPosition(org.jfree.ui.RectangleEdge edge)
edge
- the axis location.
public static CategoryLabelPositions replaceTopPosition(CategoryLabelPositions base, CategoryLabelPosition top)
base
- the base.top
- the top position.
public static CategoryLabelPositions replaceBottomPosition(CategoryLabelPositions base, CategoryLabelPosition bottom)
base
- the base.bottom
- the bottom position.
public static CategoryLabelPositions replaceLeftPosition(CategoryLabelPositions base, CategoryLabelPosition left)
base
- the base.left
- the left position.
public static CategoryLabelPositions replaceRightPosition(CategoryLabelPositions base, CategoryLabelPosition right)
base
- the base.right
- the right position.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |