|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.user.client.NativeActionHandler
public class NativeActionHandler
Wraps a JavaScript function and calls it whenever this action handler is executed.
| Constructor Summary | |
|---|---|
NativeActionHandler(com.google.gwt.core.client.JavaScriptObject jsHandler)
Creates a new action handler that wraps the given JavaScript function and calls it whenever an action is caught. |
|
| Method Summary | |
|---|---|
void |
onAction(ActionEvent event)
Handles the specified action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NativeActionHandler(com.google.gwt.core.client.JavaScriptObject jsHandler)
jsHandler - the JavaScript to call when an action occurs| Method Detail |
|---|
public void onAction(ActionEvent event)
onAction in interface ActionHandlerevent - the event that was firedonAction(ActionEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||