Package com.orchestranetworks.ui

# Class UIButtonSpecNavigation

java.lang.Object
com.orchestranetworks.ui.UIButtonSpec
com.orchestranetworks.ui.UIButtonSpecNavigation

Direct Known Subclasses:
  `UIButtonSpecSubmit`, `UIButtonSpecURL`

public abstract class UIButtonSpecNavigation extends UIButtonSpec
This abstract class provides the common features for buttons that can redirect current user.

Since:
  5.7.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isAskBeforeLeavingModifiedForm()`
  `void`
  `setAskBeforeLeavingModifiedForm(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`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### isAskBeforeLeavingModifiedForm

    public boolean isAskBeforeLeavingModifiedForm()
    See Also:
      - `setAskBeforeLeavingModifiedForm(boolean)`

  - ### 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` - `true` to enable the confirmation before leaving the form if data has been modified, `false` otherwise.
    See Also:
      - `setAskBeforeLeavingModifiedForm(boolean)`