public final class UIButtonSpecJSAction extends UIButtonSpec
| Constructor and Description | 
|---|
| UIButtonSpecJSAction(UserMessage aLabel,
                    String aJavaScriptCommand) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getJavaScriptCommand() | 
getButtonIcon, getButtonLayout, getConfirmationMessage, getIconURL, getId, getLabel, getRelief, getTooltip, hasConfirmationMessage, isDefaultButton, isDisabled, isExcludedFromTabFocus, setButtonIcon, setButtonLayout, setConfirmationMessage, setCssClass, setDefaultButton, setDisabled, setExcludedFromTabFocus, setIconURL, setId, setLabel, setRelief, setTooltippublic UIButtonSpecJSAction(UserMessage aLabel, String aJavaScriptCommand)
aLabel - the label of the button.aJavaScriptCommand - the JavaScript command to call when the button is clicked.public String getJavaScriptCommand()