Maven module :un.api : api-common :
Class :
un.api.event.DefaultEvent
Extends/Implements :
un.api.CObject
un.api.event.Event
Subclasses : -
Variables :
source,
consumable,
trigger,
consumed
Functions :
DefaultEvent,
getSource,
isConsumable,
isConsumed,
consume,
getTrigger
protected EventSource
source
protected boolean
consumable
protected Event
trigger
protected boolean
consumed
public void
DefaultEvent (EventSource source, boolean consumable, Event trigger)
public EventSource
getSource ()
public boolean
isConsumable ()
public boolean
isConsumed ()
public void
consume ()
public Event
getTrigger ()
Extend this class and append specific properties for the event.
author Johann Sorel