public class InstantiateItemEvent
extends java.util.EventObject
instantiateItem event.| Constructor and Description |
|---|
InstantiateItemEvent(java.lang.Object source,
java.lang.String classId)
Initializes a new instance of the
InstantiateItemEvent class. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassId()
Gets the class identifier of the item.
|
Item |
getItem()
Gets the newly created item.
|
void |
setItem(Item value)
Sets the newly created item.
|
public InstantiateItemEvent(java.lang.Object source,
java.lang.String classId)
InstantiateItemEvent class.source - The Schedule that raises this event.classId - Class identifier of the item.public java.lang.String getClassId()
public Item getItem()
Item-derived class.public void setItem(Item value)
Upon handling the ScheduleListener.instantiateItem(com.mindfusion.scheduling.model.InstantiateItemEvent) event, you have
to create an item of the appropriate type, as specified by getClassId(),
and assign it to this property.
value - An instance of an Item-derived class.