Class CyclicNumberAxis.CycleBoundTick

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Enclosing class:
    CyclicNumberAxis

    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()
    See Also:
    Serialized Form
    • Field Detail

      • mapToLastCycle

        public boolean mapToLastCycle
        Map to last cycle.
    • Constructor Detail

      • CycleBoundTick

        public CycleBoundTick​(boolean mapToLastCycle,
                              java.lang.Number number,
                              java.lang.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.