Package com.orchestranetworks.ui
Class UIButtonSpecJSAction
java.lang.Object
com.orchestranetworks.ui.UIButtonSpec
com.orchestranetworks.ui.UIButtonSpecJSAction
Standard button to launch a JavaScript command.
This command can be a function or a piece of JavaScript code.
- Since:
- 5.2.0
-
Constructor Summary
-
Method Summary
Methods inherited from class com.orchestranetworks.ui.UIButtonSpec
getButtonIcon, getButtonLayout, getConfirmationMessage, getIconURL, getId, getLabel, getRelief, getTooltip, hasConfirmationMessage, isDefaultButton, isDisabled, isExcludedFromTabFocus, setButtonIcon, setButtonLayout, setConfirmationMessage, setCssClass, setDefaultButton, setDisabled, setExcludedFromTabFocus, setIconURL, setId, setLabel, setRelief, setTooltip
-
Constructor Details
-
UIButtonSpecJSAction
- Parameters:
aLabel
- the label of the button.aJavaScriptCommand
- the JavaScript command to call when the button is clicked.
-
-
Method Details
-
getJavaScriptCommand
- Returns:
- the JavaScript command called by this button
-