java.lang.Object | |
↳ | org.jfree.chart.axis.CategoryLabelPositions |
Records the label positions for a category axis. Instances of this class are immutable.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DOWN_45 | DOWN_45 category label positions. | ||||||||||
DOWN_90 | DOWN_90 category label positions. | ||||||||||
STANDARD | STANDARD category label positions. | ||||||||||
UP_45 | UP_45 category label positions. | ||||||||||
UP_90 | UP_90 category label positions. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Creates a new position specification.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance where the category labels angled downwards by the
specified amount.
| |||||||||||
Creates a new instance where the category labels angled upwards by the
specified amount.
| |||||||||||
Returns
true if this object is equal to the specified
object, and false otherwise. | |||||||||||
Returns the category label position specification for an axis at the
given location.
| |||||||||||
Returns a hash code for this object.
| |||||||||||
Returns a new instance based on an existing instance but with the bottom
position changed.
| |||||||||||
Returns a new instance based on an existing instance but with the left
position changed.
| |||||||||||
Returns a new instance based on an existing instance but with the right
position changed.
| |||||||||||
Returns a new instance based on an existing instance but with the top
position changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Default constructor.
Creates a new position specification.
top | the label position info used when an axis is at the top
(null not permitted). |
---|---|
bottom | the label position info used when an axis is at the
bottom (null not permitted). |
left | the label position info used when an axis is at the left
(null not permitted). |
right | the label position info used when an axis is at the right
(null not permitted).
|
Creates a new instance where the category labels angled downwards by the specified amount.
angle | the rotation angle (should be < Math.PI / 2.0). |
---|
Creates a new instance where the category labels angled upwards by the specified amount.
angle | the rotation angle (should be < Math.PI / 2.0). |
---|
Returns true
if this object is equal to the specified
object, and false
otherwise.
obj | the other object. |
---|
Returns the category label position specification for an axis at the given location.
edge | the axis location. |
---|
Returns a hash code for this object.
Returns a new instance based on an existing instance but with the bottom position changed.
base | the base (null not permitted). |
---|---|
bottom | the bottom position (null not permitted). |
null
).
Returns a new instance based on an existing instance but with the left position changed.
base | the base (null not permitted). |
---|---|
left | the left position (null not permitted). |
null
).
Returns a new instance based on an existing instance but with the right position changed.
base | the base (null not permitted). |
---|---|
right | the right position (null not permitted). |
null
).
Returns a new instance based on an existing instance but with the top position changed.
base | the base (null not permitted). |
---|---|
top | the top position (null not permitted). |
null
).