public static class UiAction.Description extends Object
Constructor and Description |
---|
Description() |
Modifier and Type | Method and Description |
---|---|
BooleanCondition |
getEnabledCondition() |
String |
getId() |
String |
getLabel() |
String |
getMethod() |
String |
getTitle() |
BooleanCondition |
getVisibleCondition() |
boolean |
isEnabled() |
boolean |
isVisible() |
UiAction.Description |
setEnabled(boolean enabled)
Set if the button should be invokable (true), or greyed out (false).
|
UiAction.Description |
setEnabled(BooleanCondition enabled)
Set if the button should be invokable (true), or greyed out (false).
|
UiAction.Description |
setLabel(String label)
Set the label to appear on the button to activate this action.
|
UiAction.Description |
setTitle(String title)
Set the tool-tip text to appear when the mouse hovers on the button.
|
UiAction.Description |
setVisible(boolean visible)
Set if the action's button is visible on screen for the current client.
|
UiAction.Description |
setVisible(BooleanCondition visible)
Set if the action's button is visible on screen for the current client.
|
public String getMethod()
public String getId()
public String getLabel()
public UiAction.Description setLabel(String label)
public String getTitle()
public UiAction.Description setTitle(String title)
public boolean isVisible()
public BooleanCondition getVisibleCondition()
public UiAction.Description setVisible(boolean visible)
public UiAction.Description setVisible(BooleanCondition visible)
public boolean isEnabled()
public BooleanCondition getEnabledCondition()
public UiAction.Description setEnabled(boolean enabled)
public UiAction.Description setEnabled(BooleanCondition enabled)