Class CreateEvent

  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.CreateEvent
All Implemented Interfaces:

public class CreateEvent
extends Event

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

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


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


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. Logo