Interface ActionParameter

All Superinterfaces:
ConfigParameter, Parameter
All Known Implementing Classes:
ActionParameterImpl

public interface ActionParameter extends Parameter
Parameter representing an action. Not backed by a config key. Usually a displayed as button or a link.
See Also:
  • Field Details

    • STYLE_BUTTON

      static final int STYLE_BUTTON
      Action Parameter will be styled as a button
      Since:
      BiglyBT 1.0.0.0
      See Also:
  • Method Details

    • getActionResource

      String getActionResource()
      Returns the messagebundle key for the action's text
      Since:
      BiglyBT 1.0.0.0
    • setActionResource

      void setActionResource(String action_resource)
      Set the action's text
      Parameters:
      action_resource - messagebundle key
      Since:
      BiglyBT 1.0.0.0
    • getActionID

      String getActionID()
      unique id for the action. Used for UIs without widgets, like console ui

      By default, the actionid is the same as getActionResource()

      Since:
      BiglyBT 1.9.0.1
    • setActionID

      void setActionID(String actionID)
      Set unique id for the action. Used for UIs without widgets, like console ui
      Since:
      BiglyBT 1.9.0.1
    • setStyle

      void setStyle(int style)
    • getStyle

      int getStyle()
    • setImageID

      void setImageID(String id)
    • getImageID

      String getImageID()