|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.support.MethodActionDelegate<E>
E - Type of the parameterpublic class MethodActionDelegate<E>
Delegates the call to a method on the model.
| Constructor Summary | |
|---|---|
MethodActionDelegate()
|
|
| Method Summary | |
|---|---|
void |
call(ActionContext actionContext,
E parameter)
Calls the delegate |
void |
setMethodName(String methodName)
Sets the name of the method to call |
void |
setPropertyPath(String propertyPath)
Sets the path to the property of the context data to call the method on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodActionDelegate()
| Method Detail |
|---|
public void call(ActionContext actionContext,
E parameter)
ActionDelegate
call in interface ActionDelegate<E>actionContext - Action contextparameter - Parameterpublic void setPropertyPath(String propertyPath)
propertyPath - Property pathpublic void setMethodName(String methodName)
methodName - Method name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||