Package org.zkoss.zk.ui.event
Class CreateEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- 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 components that declares the onCreate handler (either as a method or as in instance definition).- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateEvent(java.lang.String name, Component target, java.util.Map<?,?> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
-