|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.ControlMethodInvocation
Die Klasse stellt die Informationen über den Aufruf einer Kontrollelement Aktion zur Verfügung. Eine Kontrollelement Aktion wird immer durch die folgenden Attribute bestimmt:
Field Summary | |
private java.lang.String |
action
Action to process |
private java.lang.String |
ctrl
Control Name |
private java.lang.String[] |
param
Additional action Parameters e.g. browse.do? |
Constructor Summary | |
ControlMethodInvocation(java.lang.String ctrl,
java.lang.String action,
java.lang.String[] params)
Constructor for ControlMethodInvocation |
Method Summary | |
java.lang.String |
getAction()
Returns the name of the Action to be performed |
java.lang.String |
getControlName()
Returns the name of the control |
static ControlMethodInvocation |
getFromForm(RequestContext ctx)
Checks if a action of a form was generated within a form. |
static ControlMethodInvocation |
getFromHyperlink(RequestContext ctx)
Checks if the event of of the control was triggered by a hyperlink. |
java.lang.String[] |
getParams()
Returns an Array with the additional Parameters |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String ctrl
private java.lang.String action
private java.lang.String[] param
Constructor Detail |
public ControlMethodInvocation(java.lang.String ctrl, java.lang.String action, java.lang.String[] params)
ctrl
- Name of the Controlaction
- Action to processparams
- Action parametersMethod Detail |
public static ControlMethodInvocation getFromHyperlink(RequestContext ctx)
ctx
- ActionContext
public static ControlMethodInvocation getFromForm(RequestContext ctx)
ctx
- ActionContext
public java.lang.String getControlName()
public java.lang.String getAction()
public java.lang.String[] getParams()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |