com.jidesoft.chart.axis
Class AbstractTimeTickCalculator
java.lang.Object
com.jidesoft.chart.axis.AbstractTimeTickCalculator
- All Implemented Interfaces:
- TickCalculator<Date>, TimeTickCalculator
- Direct Known Subclasses:
- DefaultTimeTickCalculator, SimpleTimeTickCalculator
public abstract class AbstractTimeTickCalculator
- extends Object
- implements TimeTickCalculator
An abstract super class that makes it easier to create a custom time tick calculator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_TIME_ZONE
public static final String PROPERTY_TIME_ZONE
- See Also:
- Constant Field Values
AbstractTimeTickCalculator
public AbstractTimeTickCalculator()
getDateFormat
public DateFormat getDateFormat()
- Specified by:
getDateFormat
in interface TimeTickCalculator
setDateFormat
public void setDateFormat(DateFormat dateFormat)
- Specified by:
setDateFormat
in interface TimeTickCalculator
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interface TimeTickCalculator
setTimeZone
public void setTimeZone(TimeZone timeZone)
- Specified by:
setTimeZone
in interface TimeTickCalculator
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface TickCalculator<Date>
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface TickCalculator<Date>
calculateTicks
public abstract Tick[] calculateTicks(Range<Date> r)
- Description copied from interface:
TickCalculator
- Calculate the ticks for this range of values
- Specified by:
calculateTicks
in interface TickCalculator<Date>
- Returns:
- an array of tick values