|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
- ControlActionDefMethod Detail |
public Control control()
ControlRequestContext
control
in interface ControlRequestContext
ControlRequestContext.control()
public ControlActionDef action()
ControlRequestContext
action
in interface ControlRequestContext
ControlRequestContext.action()
public java.lang.String getActionMethod()
ControlRequestContext
getActionMethod
in interface ControlRequestContext
ControlRequestContext.getActionMethod()
public java.lang.String getControlName()
getControlName
in interface ControlRequestContext
ControlRequestContext.getControlName()
public java.lang.String toString()
toString
in class ActionContextWrapper
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |