Package esmska.data.event
Class ValuedEvent<E extends java.lang.Enum<E>,V>
- java.lang.Object
-
- java.util.EventObject
-
- esmska.data.event.ValuedEvent<E,V>
-
- Type Parameters:
E- Enum describing the possible event typesV- Type of associated value
- All Implemented Interfaces:
java.io.Serializable
public class ValuedEvent<E extends java.lang.Enum<E>,V> extends java.util.EventObjectAn event which carries a value. The value may be null (check the description of the particular event).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValuedEvent(java.lang.Object source, E event, V value)Constructs a new ValuedEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgetEvent()Get the event typeVgetValue()Get the associated value.
-