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()` is `true`.

Since:
  5.7.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UIButtonSpecURL(UserMessage label, String url)`
  The constructor.

- ## Method Summary

  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`

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

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

- ## Constructor Details

  - ### UIButtonSpecURL

    public UIButtonSpecURL(UserMessage label, String url)

    The constructor.

    Default value for `UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()` is `true`.

    Parameters:
      `label` - the label for the button.
      `url` - the url for the button.

- ## Method Details

  - ### getURL

    public String getURL()
    Returns the URL for the button.