T - Type of PropertyChangeEvent acceptpublic abstract class PropertyChangeActionBase<T extends PropertyChangeEvent> extends Object
| Constructor and Description |
|---|
PropertyChangeActionBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract Class<T> |
getEventType()
Returns the PropertyChangeEvent type accepted, T.
|
void |
performAction(PropertyChangeEvent event)
Performs the action with the given event only if the event is an instance
of T
|
protected abstract void |
run(T event)
Action to perform when a PropertyChangeEvent of type T is found
|
public void performAction(PropertyChangeEvent event)
event - event for the property being changedprotected abstract void run(T event)
event - Copyright © 2011-2014. All Rights Reserved.