|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.util.servlet.event.JavaScriptActionListener
public class JavaScriptActionListener
The JavaScript action listener is a special listener that will be executed on the client only.
The actionPerformed method will never be called.
To define the JavaScript code that will executed on the client, use the
setJsAction method.
This listener is designed to be registered on an
IlvMenuItem.
| Constructor Summary | |
|---|---|
JavaScriptActionListener()
Creates a JavaScriptActionListener. |
|
JavaScriptActionListener(String jsAction)
Creates a JavaScriptActionListener with the Javascript action code. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(EventObject event)
This methods does nothing as the action is executed on the client side. |
String |
getJsAction()
Returns the JavaScript code that will be executed if this listener is triggered. |
void |
setJsAction(String jsAction)
Sets the JavaScript code that will be executed if this listener is triggered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptActionListener()
JavaScriptActionListener.
public JavaScriptActionListener(String jsAction)
JavaScriptActionListener with the Javascript action code.
jsAction - The JavaScript action code.| Method Detail |
|---|
public void actionPerformed(EventObject event)
actionPerformed in interface ActionListenerevent - The action event.public String getJsAction()
public void setJsAction(String jsAction)
jsAction - The JavaScript action code.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||