Package ipsk.awt

Interface TickProvider<T>

  • All Known Implementing Classes:
    JAutoScale

    public interface TickProvider<T>
    Automatic scales set the tick intervals so that the scale is readable by the user. Other components can get the positions of the ticks with this method.
    Author:
    Klaus Jaensch
    • Method Detail

      • getScaleTicks

        GridTick<T>[] getScaleTicks​(int from,
                                    int to)
        Get array of scale ticks. Returns only the ticks in the given interval.
        Parameters:
        from - interval start pixel position
        to - interval end pixel position
        Returns:
        array of grid ticks