Interface UIInputBox.ProgressIndicator

Enclosing class:
UIInputBox

public static interface UIInputBox.ProgressIndicator
Interface that provides progress meter metadata to input boxes that can indicate progress of some operation.
  • Method Details

    • hasProgress

      boolean hasProgress()
      Whether to render a progress indicator
      Returns:
      true if an indicator should be rendered
    • getProgress

      double getProgress()
      Amount of progress from 0-1
      Returns:
      Value in 0-1 representing progress
    • newModulatorIndicator

      static UIInputBox.ProgressIndicator newModulatorIndicator(LXPeriodicModulator modulator)
      Creates a standard indicator for a periodic modulator, displaying progress of the modulator basis when the modulator is running
      Parameters:
      modulator - Periodic modulator
      Returns:
      A progress indicator instance for this modulator