Interface AxisUpdateCallback


  • public interface AxisUpdateCallback
    Interface to be implemented which can be used to change parameters in the scale during updating.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeUpdate

        void onBeforeUpdate​(Axis axis,
                            AxisItem item)
        Callback called before the update process starts.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterUpdate

        void onAfterUpdate​(Axis axis,
                           AxisItem item)
        Callback that runs at the end of the update process.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance