|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
net.sf.doolin.gui.action.MethodGUIAction
public class MethodGUIAction
Calls a method on the model.
| Constructor Summary | |
|---|---|
MethodGUIAction()
|
|
| Method Summary | |
|---|---|
protected void |
doExecute(ActionContext context)
Executes the action and throws any kind of error. |
void |
setMethodName(String methodName)
Sets the name of the method to call on the target bean. |
void |
setPropertyPath(String propertyPath)
Sets the path to the property of the target object to call the method on. |
void |
setUseContext(boolean useContext)
Sets if the action contextual data must be used as a parameter to the method call. |
| Methods inherited from class net.sf.doolin.gui.action.AbstractSimpleGUIAction |
|---|
getIconId, getIconIDExpression, getId, getShortcut, getShortcutExpression, getTextExpression, getTip, getTipExpression, getTitle, init, setBeanName, setIconId, setShortcut, setTip, setTitle, toString |
| Methods inherited from class net.sf.doolin.gui.action.AbstractGUIAction |
|---|
execute, getActionContextData, getActionContextDataExtractor, getDisplayStateHandler, getIcon, getIconService, setActionContextDataExtractor, setDisplayStateHandler, setIconService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MethodGUIAction()
| Method Detail |
|---|
protected void doExecute(ActionContext context)
throws Exception
AbstractGUIAction
doExecute in class AbstractGUIActioncontext - the context
Exception - the exceptionpublic void setMethodName(String methodName)
methodName - Method namepublic void setPropertyPath(String propertyPath)
this by default.
propertyPath - Property pathpublic void setUseContext(boolean useContext)
useContext - true if the contextual data must be used as a
parameter for the method call.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||