org.jfree.chart.axis
public class CategoryTick extends Tick
CategoryAxis
.Constructor and Description |
---|
CategoryTick(java.lang.Comparable category,
TextBlock label,
TextBlockAnchor labelAnchor,
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.
|
TextBlock |
getLabel()
Returns the label.
|
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, TextBlock label, TextBlockAnchor labelAnchor, 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 TextBlock getLabel()
public TextBlockAnchor getLabelAnchor()
public boolean equals(java.lang.Object obj)
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.