public abstract class UIButtonSpecNavigation extends UIButtonSpec
Modifier and Type | Method and Description |
---|---|
boolean |
isAskBeforeLeavingModifiedForm() |
void |
setAskBeforeLeavingModifiedForm(boolean askBeforeLeavingModifiedForm)
Enables the confirmation when leaving the form with modified data.
|
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 boolean isAskBeforeLeavingModifiedForm()
setAskBeforeLeavingModifiedForm(boolean)
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®.
askBeforeLeavingModifiedForm
- true
to enable the confirmation before leaving
the form if data has been modified,
false
otherwise.setAskBeforeLeavingModifiedForm(boolean)