org.jfree.chart.axis
Class CategoryTick
- Cloneable, Serializable
CategoryTick(Comparable category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle) - Creates a new tick.
|
boolean | equals(Object obj) - Tests this category tick for equality with an arbitrary object.
|
Comparable | getCategory() - Returns the category.
|
TextBlock | getLabel() - Returns the label.
|
TextBlockAnchor | getLabelAnchor() - Returns the label anchor.
|
int | hashCode() - Returns a hash code for this object.
|
CategoryTick
public CategoryTick(Comparable category,
TextBlock label,
TextBlockAnchor labelAnchor,
TextAnchor rotationAnchor,
double angle)
Creates a new tick.
category
- the category.label
- the label.labelAnchor
- the label anchor.rotationAnchor
- the rotation anchor.angle
- the rotation angle (in radians).
equals
public boolean equals(Object obj)
Tests this category tick for equality with an arbitrary object.
- equals in interface Tick
obj
- the object (null
permitted).
getCategory
public Comparable getCategory()
Returns the category.
getLabel
public TextBlock getLabel()
Returns the label.
getLabelAnchor
public TextBlockAnchor getLabelAnchor()
Returns the label anchor.
hashCode
public int hashCode()
Returns a hash code for this object.