|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.adapter.struts.ActionContextWrapper
com.cc.framework.adapter.struts.ConcreteControlActionContext
encapsulates all parameters which are required if a control action is performed.
| Field Summary | |
private ControlActionDef |
action
The control action |
private Control |
control
The control |
private java.lang.String |
controlName
The name of the Control |
| Fields inherited from class com.cc.framework.adapter.struts.ActionContextWrapper |
|
| Constructor Summary | |
ConcreteControlActionContext(ActionContext ctx,
Control control,
java.lang.String controlName,
ControlActionDef action)
Constructor for ConcreteControlActionContext |
|
| Method Summary | |
ControlActionDef |
action()
Gets the Action Definition |
Control |
control()
Returns the control |
java.lang.String |
getActionMethod()
Returns the Name of the action handler in the syntax: [Controlname]_on[Action] |
java.lang.String |
getControlName()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.cc.framework.adapter.RequestContext |
getLocale, getNestedContext, getPrincipal |
| Methods inherited from interface com.cc.framework.http.HttpContext |
getAttribute, getServletContext, request, response, session |
| Methods inherited from interface com.cc.framework.adapter.AjaxRequest |
addMenu, cancelAjaxRequest, getAjaxAttribute, getAjaxAttributeNames, getDirtyControls, getMenus, isAjaxCanceled, isAjaxRequest, markDirty, setAjaxAttribute |
| Field Detail |
private Control control
private java.lang.String controlName
private ControlActionDef action
| Constructor Detail |
public ConcreteControlActionContext(ActionContext ctx,
Control control,
java.lang.String controlName,
ControlActionDef action)
ctx - ActionContextcontrol - ControlcontrolName - The name of the Controlaction - ControlActionDef| Method Detail |
public Control control()
ControlRequestContext
control in interface ControlRequestContextControlRequestContext.control()public ControlActionDef action()
ControlRequestContext
action in interface ControlRequestContextControlRequestContext.action()public java.lang.String getActionMethod()
ControlRequestContext
getActionMethod in interface ControlRequestContextControlRequestContext.getActionMethod()public java.lang.String getControlName()
getControlName in interface ControlRequestContextControlRequestContext.getControlName()public java.lang.String toString()
toString in class ActionContextWrapperObject.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||