org.xwiki.gwt.user.client
Class NativeActionHandler
java.lang.Object
org.xwiki.gwt.user.client.NativeActionHandler
- All Implemented Interfaces:
- com.google.gwt.event.shared.EventHandler, ActionHandler
public class NativeActionHandler
- extends Object
- implements ActionHandler
Wraps a JavaScript function and calls it whenever this action handler is executed.
- Version:
- $Id: 60be6d849670b0411de76905e6279b435b47c3e2 $
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeActionHandler
public 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.
- Parameters:
jsHandler - the JavaScript to call when an action occurs
onAction
public void onAction(ActionEvent event)
- Description copied from interface:
ActionHandler
- Handles the specified action.
- Specified by:
onAction in interface ActionHandler
- Parameters:
event - the event that was fired
Copyright © 2004–2015 XWiki. All rights reserved.