Package com.orchestranetworks.ui

# Class UIButtonLayout

java.lang.Object
com.orchestranetworks.ui.UIButtonLayout

public final class UIButtonLayout extends Object
This class can be used to set the layout of a button.

Since:
  5.2.0
See Also:
  - `UIButtonSpec`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final UIButtonLayout`
  `ICON_ONLY`
  Only the icon is displayed in the button.
  `static final UIButtonLayout`
  `TEXT_AND_ICON_LEFT`
  The text and the icon are both displayed.
  `static final UIButtonLayout`
  `TEXT_AND_ICON_RIGHT`
  The text and the icon are both displayed.
  `static final UIButtonLayout`
  `TEXT_ONLY`
  Only the text is displayed in the button.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`
  For debug purpose only.

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

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

- ## Field Details

  - ### TEXT_ONLY

    public static final UIButtonLayout TEXT_ONLY
    Only the text is displayed in the button.

  - ### ICON_ONLY

    public static final UIButtonLayout ICON_ONLY
    Only the icon is displayed in the button.

  - ### TEXT_AND_ICON_LEFT

    public static final UIButtonLayout TEXT_AND_ICON_LEFT
    The text and the icon are both displayed. The icon is on the left of the text.

  - ### TEXT_AND_ICON_RIGHT

    public static final UIButtonLayout TEXT_AND_ICON_RIGHT
    The text and the icon are both displayed. The icon is on the right of the text.

- ## Method Details

  - ### toString

    public String toString()
    For debug purpose only.
    Overrides:
      `toString` in class `Object`