|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject sky.monome.event.GenericEvent<T>
T
- Type of objects that create this type of events.public abstract class GenericEvent<T>
Generic Monome event. This class is the base class for all Monome events.
Field Summary | |
---|---|
protected long |
when
Time of this generic event, in milliseconds since the time zero of Unix world. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GenericEvent(long when,
T source)
Constructs a generic event with the specified date and the specified source. |
Method Summary | |
---|---|
T |
getSource2()
Returns the source of this generic event. |
long |
getWhen()
Returns the time of this generic event, in milliseconds since the time zero of Unix world. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final long when
Constructor Detail |
---|
public GenericEvent(long when, T source)
when
- Time of this generic event, in milliseconds since the time zero of Unix world.source
- Source of this generic event.Method Detail |
---|
public long getWhen()
public T getSource2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |