|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
esmska.data.event.ValuedEvent<E,V>
E - Enum describing the possible event typesV - Type of associated valuepublic class ValuedEvent<E extends java.lang.Enum<E>,V>
An event which carries a value. The value may be null (check the description of the particular event).
| Field Summary | |
|---|---|
protected E |
event
|
protected V |
value
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ValuedEvent(java.lang.Object source,
E event,
V value)
Constructs a new ValuedEvent. |
|
| Method Summary | |
|---|---|
E |
getEvent()
Get the event type |
V |
getValue()
Get the associated value. |
| 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 E extends java.lang.Enum<E> event
protected V value
| Constructor Detail |
|---|
public ValuedEvent(java.lang.Object source,
E event,
V value)
source - the object that originated the event, not nullevent - enum value determining type of event, not nullvalue - value associated with the event, may be null| Method Detail |
|---|
public E getEvent()
public V getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||