|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blojsom.event.BlojsomEvent
BlojsomEvent
| Field Summary | |
protected boolean |
_eventHandled
|
protected java.lang.Object |
_source
|
protected java.util.Date |
_timestamp
|
| Constructor Summary | |
BlojsomEvent(java.lang.Object source,
java.util.Date timestamp)
Create a new event. |
|
| Method Summary | |
java.lang.Object |
getSource()
Retrieve the source of the event |
java.util.Date |
getTimestamp()
Retrieve the timestamp when the event occurred |
boolean |
isEventHandled()
Check to see if the event has already been handled or not |
void |
setEventHandled(boolean eventHandled)
Set whether or not the event has been handled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object _source
protected java.util.Date _timestamp
protected boolean _eventHandled
| Constructor Detail |
public BlojsomEvent(java.lang.Object source,
java.util.Date timestamp)
source - Source of the eventtimestamp - Event timestamp| Method Detail |
public java.lang.Object getSource()
public java.util.Date getTimestamp()
public boolean isEventHandled()
true if the event has been handled, false otherwisepublic void setEventHandled(boolean eventHandled)
eventHandled - true if the event has been handled, fasle otherwise
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||