Class UiAction.Description

  • Enclosing interface:
    UiAction<R extends RestResource>

    public static class UiAction.Description
    extends Object
    Describes an action invokable through the web interface.
    • Constructor Detail

      • Description

        public Description()
    • Method Detail

      • getMethod

        public String getMethod()
      • getId

        public String getId()
      • getLabel

        public String getLabel()
      • setLabel

        public UiAction.Description setLabel​(String label)
        Set the label to appear on the button to activate this action.
      • getTitle

        public String getTitle()
      • setTitle

        public UiAction.Description setTitle​(String title)
        Set the tool-tip text to appear when the mouse hovers on the button.
      • isVisible

        public boolean isVisible()
      • setVisible

        public UiAction.Description setVisible​(boolean visible)
        Set if the action's button is visible on screen for the current client. If not visible the action description may not be sent to the client.
      • setVisible

        public UiAction.Description setVisible​(BooleanCondition visible)
        Set if the action's button is visible on screen for the current client. If not visible the action description may not be sent to the client.
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public UiAction.Description setEnabled​(boolean enabled)
        Set if the button should be invokable (true), or greyed out (false).