JIDE 3.5.15

com.jidesoft.chart.axis
Class DefaultCategoryTickCalculator<T>

java.lang.Object
  extended by 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.


Constructor Summary
DefaultCategoryTickCalculator()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Tick[] calculateTicks(Range<Category<T>> range)
          Calculate the ticks for this range of values
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCategoryTickCalculator

public DefaultCategoryTickCalculator()
Method Detail

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

JIDE 3.5.15