public class SlotEvent extends AbstractACTREvent<INotifyingSlotContainer,ISlotContainerListener> implements IACTREvent<INotifyingSlotContainer,ISlotContainerListener>
Modifier and Type | Class and Description |
---|---|
static class |
SlotEvent.Type |
Constructor and Description |
---|
SlotEvent(INotifyingSlotContainer container,
ISlot slot,
java.lang.Object oldValue) |
SlotEvent(INotifyingSlotContainer container,
SlotEvent.Type type,
ISlot slot) |
Modifier and Type | Method and Description |
---|---|
void |
fire(ISlotContainerListener listener)
dispatch this event to a listener on the provided executor
|
java.lang.Object |
getOldValue() |
ISlot |
getSlot() |
SlotEvent.Type |
getType() |
getSimulationTime, getSource, getSystemTime, setSimulationTime, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimulationTime, getSource, getSystemTime
public SlotEvent(INotifyingSlotContainer container, SlotEvent.Type type, ISlot slot)
public SlotEvent(INotifyingSlotContainer container, ISlot slot, java.lang.Object oldValue)
public SlotEvent.Type getType()
public ISlot getSlot()
public java.lang.Object getOldValue()
public void fire(ISlotContainerListener listener)
IACTREvent
fire
in interface IACTREvent<INotifyingSlotContainer,ISlotContainerListener>
fire
in class AbstractACTREvent<INotifyingSlotContainer,ISlotContainerListener>