Interface ActionParameter

    • Field Detail

      • STYLE_BUTTON

        static final int STYLE_BUTTON
        Action Parameter will be styled as a button
        Since:
        BiglyBT 1.0.0.0
        See Also:
        Constant Field Values
      • STYLE_LINK

        static final int STYLE_LINK
        Action Parameter will be styled as a hyperlink
        Since:
        BiglyBT 1.0.0.0
        See Also:
        Constant Field Values
    • Method Detail

      • getActionResource

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

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

        java.lang.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​(java.lang.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()