## Uses of Class
org.zkoss.zul.Messagebox.Button

- Packages that use Messagebox.Button
  Package | Description
  --- | ---
  org.zkoss.zul |
  org.zkoss.zul.impl |

- - ### Uses of Messagebox.Button in org.zkoss.zul

    Methods in org.zkoss.zul that return Messagebox.Button
    Modifier and Type | Method | Description
    --- | --- | ---
    `Messagebox.Button` | Messagebox.ClickEvent.`getButton()` | Returns the button being clicked.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener, java.util.Map<java.lang.String,​java.lang.String> params)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, Messagebox.Button[] buttons, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.Button.`valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static Messagebox.Button[]` | Messagebox.Button.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.zkoss.zul with parameters of type Messagebox.Button
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener, java.util.Map<java.lang.String,​java.lang.String> params)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, Messagebox.Button[] buttons, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.

    Constructors in org.zkoss.zul with parameters of type Messagebox.Button
    Constructor | Description
    --- | ---
    `ClickEvent​(java.lang.String name, Component target, Messagebox.Button button)` |

  - ### Uses of Messagebox.Button in org.zkoss.zul.impl

    Methods in org.zkoss.zul.impl that return Messagebox.Button
    Modifier and Type | Method | Description
    --- | --- | ---
    `Messagebox.Button` | MessageboxDlg.`getResult()` | Returns the result which is the button being pressed.

    Methods in org.zkoss.zul.impl with parameters of type Messagebox.Button
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | MessageboxDlg.`endModal​(Messagebox.Button button)` | Called only internally.
    `void` | MessageboxDlg.Button.`setButton​(Messagebox.Button button)` | Sets the label's information with a default label.
    `void` | MessageboxDlg.Button.`setButton​(Messagebox.Button button, java.lang.String label)` | Sets the label's information and label.
    `void` | MessageboxDlg.`setButtons​(Messagebox.Button[] buttons, java.lang.String[] btnLabels)` | Sets what buttons are allowed.
    `void` | MessageboxDlg.`setFocus​(Messagebox.Button button)` | Sets the focus.