Interface IntListParameter

All Superinterfaces:
ConfigParameter, Parameter, ParameterWithSuffix
All Known Implementing Classes:
IntListParameterImpl

public interface IntListParameter extends Parameter, ParameterWithSuffix
An integer config parameter that's limited to a list of values. Values are usually shown to user in friendly text representations.
Since:
BiglyBT 1.0.0.0
See Also:
  • Field Details

    • TYPE_DROPDOWN

      static final int TYPE_DROPDOWN
      Dropdown style. Default.
      Since:
      BiglyBT 1.0.0.0
      See Also:
    • TYPE_RADIO_COMPACT

      static final int TYPE_RADIO_COMPACT
      Compact style of radio buttons. Typically will display all options in one row
      Since:
      BiglyBT 1.9.0.1
      See Also:
    • TYPE_RADIO_LIST

      static final int TYPE_RADIO_LIST
      List style of radio buttons. Typically will display each option on a new row
      Since:
      BiglyBT 1.9.0.1
      See Also:
  • Method Details

    • setValue

      void setValue(int value)
    • getValue

      int getValue()
    • getLabels

      String[] getLabels()
      List of labels displayed to user
      Since:
      BiglyBT 1.9.0.1
    • setLabels

      void setLabels(String[] labels)
      Set list of labels displayed to user
      Since:
      BiglyBT 1.0.0.0
    • getValues

      int[] getValues()
      List of values that can be stored to config
      Since:
      BiglyBT 1.9.0.1
    • setListType

      void setListType(int listType)
      Set List type.
      Since:
      BiglyBT 1.9.0.1
      See Also:
    • getListType

      int getListType()
      Get List type.
      Since:
      BiglyBT 1.9.0.1
      See Also: