org.jfree.chart.axis

Class CyclicNumberAxis.CycleBoundTick

Enclosing Class:
CyclicNumberAxis
Implemented Interfaces:
Cloneable, Serializable

protected static class CyclicNumberAxis.CycleBoundTick
extends NumberTick

A special Number tick that also hold information about the cycle bound mapping for this tick. This is especially useful for having a tick at each axis end with the cycle bound value. See also isBoundMappedToLastCycle()

Field Summary

boolean
mapToLastCycle
Map to last cycle.

Constructor Summary

CycleBoundTick(boolean mapToLastCycle, Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick.

Method Summary

Methods inherited from class org.jfree.chart.axis.NumberTick

getNumber

Methods inherited from class org.jfree.chart.axis.ValueTick

equals, getValue

Methods inherited from class org.jfree.chart.axis.Tick

clone, equals, getAngle, getRotationAnchor, getText, getTextAnchor, toString

Field Details

mapToLastCycle

public boolean mapToLastCycle
Map to last cycle.

Constructor Details

CycleBoundTick

public CycleBoundTick(boolean mapToLastCycle,
                      Number number,
                      String label,
                      TextAnchor textAnchor,
                      TextAnchor rotationAnchor,
                      double angle)
Creates a new tick.
Parameters:
mapToLastCycle - map to last cycle?
number - the number.
label - the label.
textAnchor - the text anchor.
rotationAnchor - the rotation anchor.
angle - the rotation angle.