|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.common.property.PropertyChangeActionBase<T>
T
- Type of PropertyChangeEvent acceptpublic abstract class PropertyChangeActionBase<T extends PropertyChangeEvent>
Base class for PropertyChangeActions to use with a PropertyChangeMonitor
Constructor Summary | |
---|---|
PropertyChangeActionBase()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyChangeActionBase()
Method Detail |
---|
public void performAction(PropertyChangeEvent event)
event
- event for the property being changedprotected abstract void run(T event)
event
- public abstract Class<T> getEventType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |