Interface Controller.Setting<T>

Type Parameters:
T - the underlying type of the setting
Enclosing class:
Controller

public static interface Controller.Setting<T>
Represents a setting that can be configured programmatically or through user interaction in the UI.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets the value of the setting.
    void
    set(T newValue)
    Sets the value of the setting.
  • Method Details

    • set

      void set(T newValue)
      Sets the value of the setting.
      Parameters:
      newValue - the new value
    • get

      T get()
      Gets the value of the setting.
      Returns:
      the current value