Interface StringListParameter

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

public interface StringListParameter extends Parameter, ParameterWithSuffix
An String 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_LISTBOX

      static final int TYPE_LISTBOX
      Listbox style. Typically will display each option on a new row
      Since:
      BiglyBT 1.9.0.1
      See Also:
  • Method Details

    • setValue

      void setValue(String value)
    • getValue

      String 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

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

      void setListType(int listType)
    • getListType

      int getListType()