public class IlxWJSAction extends java.lang.Object implements IlxWAction
When the action is triggered on the web browser, for example when the user selects the menu item of a menu bar, the JavaScript function is called. The arguments for the function depend on the component with which the action is associated (see the documentation of the component for details).
| Constructor and Description |
|---|
IlxWJSAction(java.lang.String jsFunction)
Constructs a new JavaScript action, given a JavaScript function.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJSFunction()
Returns the JavaScript function to call just after the action has been
triggered.
|
java.lang.String |
getJSRef(IlxWPort port)
Get a JavaScript reference on the action.
|
int |
getType()
Gets the type of this action.
|
boolean |
isJavaAction()
Tells whether this action is a Java action or not.
|
void |
notifyDependencies(IlxWPort port) |
public IlxWJSAction(java.lang.String jsFunction)
jsFunction - The JavaScript function to call just after the action
has been triggered.public java.lang.String getJSFunction()
public int getType()
IlxWActiongetType in interface IlxWActionpublic boolean isJavaAction()
IlxWActionisJavaAction in interface IlxWActionpublic java.lang.String getJSRef(IlxWPort port)
IlxWActiongetJSRef in interface IlxWActiongetJSRef in interface ilog.webui.dhtml.IlxWJSObjectpublic void notifyDependencies(IlxWPort port)
notifyDependencies in interface ilog.webui.dhtml.IlxWDependencyProvider© Copyright IBM Corp. 1987, 2017