TickUnitSource
org.jfree.chart.axis

Interface TickUnitSource

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      TickUnitgetCeilingTickUnit(double size)
      Returns the smallest tick unit available in the source that is greater than or equal to the specified size.
      TickUnitgetCeilingTickUnit(TickUnit unit)
      Returns the tick unit in the collection that is greater than or equal to (in size) the specified unit.
      TickUnitgetLargerTickUnit(TickUnit unit)
      Returns the smallest tick unit available in the source that is larger than unit or, if there is no larger unit, returns unit.
    • Method Detail

      • getLargerTickUnit

        TickUnit getLargerTickUnit(TickUnit unit)
        Returns the smallest tick unit available in the source that is larger than unit or, if there is no larger unit, returns unit.
        Parameters:
        unit - the unit (null not permitted).
        Returns:
        A tick unit that is larger than the supplied unit.
      • getCeilingTickUnit

        TickUnit getCeilingTickUnit(TickUnit unit)
        Returns the tick unit in the collection that is greater than or equal to (in size) the specified unit.
        Parameters:
        unit - the unit.
        Returns:
        A unit from the collection.
      • getCeilingTickUnit

        TickUnit getCeilingTickUnit(double size)
        Returns the smallest tick unit available in the source that is greater than or equal to the specified size. If there is no such tick unit, the method should return the largest available tick in the source.
        Parameters:
        size - the size.
        Returns:
        A unit from the collection (never null).

SCaVis 2.1 © jWork.ORG