com.jidesoft.chart.axis
Class DefaultCategoryTickCalculator<T>
java.lang.Object
com.jidesoft.chart.axis.DefaultCategoryTickCalculator<T>
- Type Parameters:
T
- the type of object described by the categories.
- All Implemented Interfaces:
- CategoryTickCalculator<T>, TickCalculator<Category<T>>
public class DefaultCategoryTickCalculator<T>
- extends Object
- implements CategoryTickCalculator<T>
A default implementation of a tick calculator for category-based values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCategoryTickCalculator
public DefaultCategoryTickCalculator()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface TickCalculator<Category<T>>
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface TickCalculator<Category<T>>
calculateTicks
public Tick[] calculateTicks(Range<Category<T>> range)
- Description copied from interface:
TickCalculator
- Calculate the ticks for this range of values
- Specified by:
calculateTicks
in interface TickCalculator<Category<T>>
- Returns:
- an array of tick values