public class CategoryTick extends Tick
CategoryAxis
.Constructor and Description |
---|
CategoryTick(Comparable category,
TextBlock label,
TextBlockAnchor labelAnchor,
TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
public CategoryTick(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 Comparable getCategory()
public TextBlock getLabel()
public TextBlockAnchor getLabelAnchor()
public boolean equals(Object obj)
Copyright © 2001–2017 JFree.org. All rights reserved.