Package org.zkoss.zul

Class Messagebox.ClickEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Messagebox

    public static class Messagebox.ClickEvent
    extends org.zkoss.zk.ui.event.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, org.zkoss.zk.ui.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClickEvent

        public ClickEvent​(java.lang.String name,
                          org.zkoss.zk.ui.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 (and Event.getName() returns onClose).