Package org.zkoss.zul
Class Messagebox.ClickEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zul.Messagebox.ClickEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Messagebox
public static class Messagebox.ClickEvent extends Event
The event that will be received by the listener when the user clicks a button.- Since:
- 6.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClickEvent(java.lang.String name, Component target, Messagebox.Button button)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Messagebox.Button
getButton()
Returns the button being clicked.-
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
-
-
-
Constructor Detail
-
ClickEvent
public ClickEvent(java.lang.String name, Component target, Messagebox.Button button)
-
-
Method Detail
-
getButton
public Messagebox.Button getButton()
Returns the button being clicked. If the close button on the title is clicked, this method returns null (andEvent.getName()
returns onClose).
-
-