|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods needed to implement a BaseEvent
Field Summary | |
static java.lang.String |
EVENT_ID
|
Method Summary | |
void |
addListenerID(java.lang.String id)
Add a specific listener id this event should be delivered to. |
java.lang.String |
getEventExtension()
get the event extension |
java.lang.String |
getEventID()
Get the ID that identifies this event. |
java.lang.String |
getEventIDWithExtension()
Get the id + extension of this event. |
java.util.List |
getListenerIDs()
Get the list of id's this event is specifically targeted for. |
BaseEvent |
getRootEvent()
get the root event source (may be null) |
java.lang.Object |
getSource()
get the event source (may be null) |
long |
getTimestamp()
Get the timestamp |
boolean |
isHandled()
get the handled status for the event |
void |
reset()
Reset the event to it's default state |
void |
setEventExtension(java.lang.String iext)
set the event extension |
void |
setHandled(boolean val)
mark the event as handled/unhandled |
void |
setSource(java.lang.Object isource)
set the source for an event |
void |
touch()
Update the timestamp on the event |
Methods inherited from interface org.enhydra.barracuda.core.util.data.StateMap |
getState, getStateKeys, getStateValues, putState, removeState |
Field Detail |
public static final java.lang.String EVENT_ID
Method Detail |
public void setSource(java.lang.Object isource)
isource
- the source for this eventpublic java.lang.Object getSource()
public BaseEvent getRootEvent()
public void setEventExtension(java.lang.String iext)
iext
- the target event extensionpublic java.lang.String getEventExtension()
public void setHandled(boolean val)
public boolean isHandled()
public void addListenerID(java.lang.String id)
id
- the Listener ID the event should targetpublic java.util.List getListenerIDs()
public java.lang.String getEventID()
public java.lang.String getEventIDWithExtension()
public long getTimestamp()
public void touch()
public void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |