|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.webui.dhtml.components.IlxWJSAction
public class IlxWJSAction
Class of JavaScript actions.
JavaScript actions provide you with a way to call user-defined
JavaScript functions on the client side. To create a JavaScript action,
pass the name of your JavaScript function to the IlxWJSAction
constructor.
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 Summary | |
---|---|
IlxWJSAction(String jsFunction)
Constructs a new JavaScript action, given a JavaScript function. |
Method Summary | |
---|---|
String |
getJSFunction()
Returns the JavaScript function to call just after the action has been triggered. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlxWJSAction(String jsFunction)
jsFunction
- The JavaScript function to call just after the action
has been triggered.Method Detail |
---|
public String getJSFunction()
public int getType()
IlxWAction
getType
in interface IlxWAction
public boolean isJavaAction()
IlxWAction
isJavaAction
in interface IlxWAction
public String getJSRef(IlxWPort port)
IlxWAction
getJSRef
in interface IlxWAction
getJSRef
in interface ilog.webui.dhtml.IlxWJSObject
public void notifyDependencies(IlxWPort port)
notifyDependencies
in interface ilog.webui.dhtml.IlxWDependencyProvider
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |