palio
Class InstanceEvent
java.lang.Object
palio.InstanceEvent
- Direct Known Subclasses:
- InstanceLifeCycleStateChangeEvent
public class InstanceEvent
- extends java.lang.Object
Class represents instance events. Events are used to implement a communication between jPALIO instance components.
Events are sent to instance listeners.
- Author:
- Krzysztof Madyniak
- See Also:
InstanceListener
,
Instance.addInstanceListener(InstanceListener)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceEvent
public InstanceEvent(Instance instance,
InstanceEvent.Type eventType)
InstanceEvent
public InstanceEvent(Instance instance,
InstanceEvent.Type eventType,
PElement element)
getEventType
public InstanceEvent.Type getEventType()
getElement
public PElement getElement()
getInstance
public Instance getInstance()