Class NativeEventHandler
java.lang.Object
org.opencms.ade.contenteditor.widgetregistry.client.NativeEventHandler
- All Implemented Interfaces:
com.google.gwt.event.dom.client.FocusHandler
,com.google.gwt.event.logical.shared.ValueChangeHandler<String>
,com.google.gwt.event.shared.EventHandler
public class NativeEventHandler
extends Object
implements com.google.gwt.event.logical.shared.ValueChangeHandler<String>, com.google.gwt.event.dom.client.FocusHandler
Handler to delegate events to a native java script connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFocus
(com.google.gwt.event.dom.client.FocusEvent event) void
onValueChange
(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
-
Constructor Details
-
NativeEventHandler
Constructor.- Parameters:
connector
- the native connector object that needs to provide an onChange method
-
-
Method Details
-
onFocus
- Specified by:
onFocus
in interfacecom.google.gwt.event.dom.client.FocusHandler
- See Also:
-
FocusHandler.onFocus(com.google.gwt.event.dom.client.FocusEvent)