E - Enum describing the possible event typesV - Type of associated valuepublic class ValuedEvent<E extends java.lang.Enum<E>,V>
extends java.util.EventObject
| Constructor and Description |
|---|
ValuedEvent(java.lang.Object source,
E event,
V value)
Constructs a new ValuedEvent.
|
| Modifier and Type | Method and Description |
|---|---|
E |
getEvent()
Get the event type
|
V |
getValue()
Get the associated value.
|