public class UIButtonSpecURL extends UIButtonSpecNavigation
Standard button to redirect user to a given URL.
Default value for UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()
is true
.
Constructor and Description |
---|
UIButtonSpecURL(UserMessage label,
String url)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getURL()
Returns the URL for the button.
|
isAskBeforeLeavingModifiedForm, setAskBeforeLeavingModifiedForm
getButtonIcon, getButtonLayout, getConfirmationMessage, getIconURL, getId, getLabel, getRelief, getTooltip, hasConfirmationMessage, isDefaultButton, isDisabled, isExcludedFromTabFocus, setButtonIcon, setButtonLayout, setConfirmationMessage, setCssClass, setDefaultButton, setDisabled, setExcludedFromTabFocus, setIconURL, setId, setLabel, setRelief, setTooltip
public UIButtonSpecURL(UserMessage label, String url)
The constructor.
Default value for UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()
is true
.
label
- the label for the button.url
- the url for the button.public String getURL()