|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.support.ActionProxyDelegate<T>
T - Type of the parameterpublic class ActionProxyDelegate<T>
This action set a property on the action context data and delegates to an
action. If the property path is not set, the action context
is not updated.
| Constructor Summary | |
|---|---|
ActionProxyDelegate()
|
|
| Method Summary | |
|---|---|
void |
call(ActionContext actionContext,
T parameter)
Calls the delegate |
GUIAction |
getAction()
Returns the action to execute |
String |
getPropertyPath()
Returns the path to the property to set |
boolean |
isUseContext()
Checks if the data or the context must be used |
void |
setAction(GUIAction action)
Sets the action to execute |
void |
setPropertyPath(String propertyPath)
Sets the path to the property to set in the action context |
void |
setUseContext(boolean useContext)
Sets if the data or the contextual data must be used |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionProxyDelegate()
| Method Detail |
|---|
public void call(ActionContext actionContext,
T parameter)
ActionDelegate
call in interface ActionDelegate<T>actionContext - Action contextparameter - Parameterpublic GUIAction getAction()
public String getPropertyPath()
public boolean isUseContext()
true if the contextual data must be usedpublic void setAction(GUIAction action)
action - Actionpublic void setPropertyPath(String propertyPath)
propertyPath - Property pathpublic void setUseContext(boolean useContext)
useContext - true if the contextual data must be used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||