org.zkoss.zul
Class Messagebox.ClickEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by 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
Messagebox.ClickEvent(java.lang.String name, Component target, Messagebox.Button button)
           
 
Method Summary
 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

Messagebox.ClickEvent

public Messagebox.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 (and Event.getName() returns onClose).



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo