public class CategoryTick extends Tick
CategoryAxis
.Constructor and Description |
---|
CategoryTick(java.lang.Comparable category,
org.jfree.text.TextBlock label,
org.jfree.text.TextBlockAnchor labelAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this category tick for equality with an arbitrary object.
|
java.lang.Comparable |
getCategory()
Returns the category.
|
org.jfree.text.TextBlock |
getLabel()
Returns the label.
|
org.jfree.text.TextBlockAnchor |
getLabelAnchor()
Returns the label anchor.
|
int |
hashCode()
Returns a hash code for this object.
|
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
public CategoryTick(java.lang.Comparable category, org.jfree.text.TextBlock label, org.jfree.text.TextBlockAnchor labelAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
category
- the category.label
- the label.labelAnchor
- the label anchor.rotationAnchor
- the rotation anchor.angle
- the rotation angle (in radians).public java.lang.Comparable getCategory()
public org.jfree.text.TextBlock getLabel()
public org.jfree.text.TextBlockAnchor getLabelAnchor()
public boolean equals(java.lang.Object obj)
public int hashCode()
hashCode
in class java.lang.Object