public abstract class IlxWJavaAction extends IlxWRequestAction
Remarks:
| Constructor and Description |
|---|
IlxWJavaAction()
Constructs a Java action with
IlxWRequestDesc.WPORT as the request descriptor. |
IlxWJavaAction(IlxWRequestDesc desc)
Constructs a Java action with the given request descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Gets the type of this action.
|
boolean |
isJavaAction()
Tells whether this action is a Java action or not.
|
abstract void |
perform(IlxWPort port,
IlxWComponent source,
java.lang.Object[] args)
Performs the action.
|
void |
setPostponed(boolean postponed)
Sets the postponed property of the action.
|
getJSRef, notifyDependencies, setRequestpublic IlxWJavaAction(IlxWRequestDesc desc)
public IlxWJavaAction()
IlxWRequestDesc.WPORT as the request descriptor.public int getType()
IlxWActiongetType in interface IlxWActiongetType in class IlxWRequestActionpublic boolean isJavaAction()
IlxWActionisJavaAction in interface IlxWActionisJavaAction in class IlxWRequestActionpublic void setPostponed(boolean postponed)
null.postponed - If true the server will not be requested
immediately after the user interaction, but will wait for the next
request. If false, the server is immediately requested
and the action is performed as soon as the request is processed.public abstract void perform(IlxWPort port, IlxWComponent source, java.lang.Object[] args)
This method is called during execution of the
IlxWController.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method, just after having
processed the modified component queue.
port - The port where the response to the current request will
be printed.source - The component on which the action has been initially
triggered.args - An array of arguments. Those arguments depend on the component
with which the action is associated.IlxWController© Copyright IBM Corp. 1987, 2017