E
- Enum describing the possible event typesV
- Type of associated valuepublic class ValuedEventSupport<E extends java.lang.Enum<E>,V>
extends java.lang.Object
Constructor and Description |
---|
ValuedEventSupport(java.lang.Object source)
Creates a new instance of ActionEventSupport
|
Modifier and Type | Method and Description |
---|---|
void |
addValuedListener(ValuedListener<E,V> valuedListener)
Add new ActionListener
|
void |
fireEventOccured(E event,
V value)
Fire new ActionEvent
|
void |
removeValuedListener(ValuedListener<E,V> valuedListener)
Remove existing ActionListener
|
public ValuedEventSupport(java.lang.Object source)
source
- Source object, for which the ActionEventSupport should work. May not be null.public void addValuedListener(ValuedListener<E,V> valuedListener)
public void removeValuedListener(ValuedListener<E,V> valuedListener)