org.zkoss.zk.ui.event
Class CreateEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.CreateEvent
All Implemented Interfaces:
java.io.Serializable

public class CreateEvent
extends Event

Used to notify a window that all its children are created and initialized. UiEngine post this event to compoents that declares the onCreate handler (either as a method or as in instance definition).

Author:
tomyeh
See Also:
Serialized Form

Constructor Summary
CreateEvent(java.lang.String name, Component target, java.util.Map<?,?> args)
           
 
Method Summary
 java.util.Map<?,?> getArg()
          Returns arg (Execution.getArg()) when the component is created.
 
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

CreateEvent

public CreateEvent(java.lang.String name,
                   Component target,
                   java.util.Map<?,?> args)
Method Detail

getArg

public java.util.Map<?,?> getArg()
Returns arg (Execution.getArg()) when the component is created.

Note: when onCreate listeners are called, Execution.getArg() is no longer available, you have to use this method instead.



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