Package com.orchestranetworks.ui
Class UIButtonSpecNavigation
java.lang.Object
com.orchestranetworks.ui.UIButtonSpec
com.orchestranetworks.ui.UIButtonSpecNavigation
- Direct Known Subclasses:
UIButtonSpecSubmit,UIButtonSpecURL
This abstract class provides the common features for buttons that can redirect current user.
- Since:
- 5.7.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAskBeforeLeavingModifiedForm(boolean askBeforeLeavingModifiedForm) Enables the confirmation when leaving the form with modified data.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
-
Method Details
-
isAskBeforeLeavingModifiedForm
public boolean isAskBeforeLeavingModifiedForm()- See Also:
-
setAskBeforeLeavingModifiedForm
public void setAskBeforeLeavingModifiedForm(boolean askBeforeLeavingModifiedForm) Enables the confirmation when leaving the form with modified data.
This method has no effect if button is not used in a form managed by EBX®.
- Parameters:
askBeforeLeavingModifiedForm-trueto enable the confirmation before leaving the form if data has been modified,falseotherwise.- See Also:
-