Package com.orchestranetworks.ui
Class UIButtonSpecURL
- java.lang.Object
-
- com.orchestranetworks.ui.UIButtonSpec
-
- com.orchestranetworks.ui.UIButtonSpecNavigation
-
- com.orchestranetworks.ui.UIButtonSpecURL
-
public class UIButtonSpecURL extends UIButtonSpecNavigation
Standard button to redirect user to a given URL.
Default value for
UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()
istrue
.- Since:
- 5.7.1
-
-
Constructor Summary
Constructors Constructor Description UIButtonSpecURL(UserMessage label, String url)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getURL()
Returns the URL for the button.-
Methods inherited from class com.orchestranetworks.ui.UIButtonSpecNavigation
isAskBeforeLeavingModifiedForm, setAskBeforeLeavingModifiedForm
-
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 Detail
-
UIButtonSpecURL
public UIButtonSpecURL(UserMessage label, String url)
The constructor.
Default value for
UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()
istrue
.- Parameters:
label
- the label for the button.url
- the url for the button.
-
-
Method Detail
-
getURL
public String getURL()
Returns the URL for the button.
-
-