public class ViewEventHandlerManager extends Object
| Constructor and Description |
|---|
ViewEventHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
com.ait.lienzo.client.core.shape.Shape<?> shape,
ViewEventType... supportedTypes) |
ViewEventHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
ViewEventType... supportedTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(ViewEventType type,
ViewHandler<? extends ViewEvent> eventHandler) |
void |
addHandlersRegistration(ViewEventType type,
com.google.gwt.event.shared.HandlerRegistration... registrations) |
protected GestureEventImpl |
buildGestureEvent(com.ait.lienzo.client.core.event.AbstractNodeGestureEvent event) |
void |
destroy() |
void |
disable() |
protected com.google.gwt.event.shared.HandlerRegistration[] |
doAddHandler(ViewEventType type,
ViewHandler<? extends ViewEvent> eventHandler) |
void |
enable() |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerClickHandler(ViewHandler<ViewEvent> eventHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerDoubleClickHandler(ViewHandler<ViewEvent> eventHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerEnterHandler(ViewHandler<ViewEvent> eventHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerExitHandler(ViewHandler<ViewEvent> eventHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerGestureHandler(GestureHandler gestureHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerTextDoubleClickHandler(ViewHandler<ViewEvent> eventHandler) |
protected com.google.gwt.event.shared.HandlerRegistration[] |
registerTouchHandler(TouchHandler touchHandler) |
void |
removeHandler(ViewHandler<? extends ViewEvent> eventHandler) |
void |
restoreClickHandler() |
void |
skipClickHandler() |
boolean |
supports(ViewEventType type) |
public ViewEventHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
ViewEventType... supportedTypes)
public ViewEventHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
com.ait.lienzo.client.core.shape.Shape<?> shape,
ViewEventType... supportedTypes)
public void enable()
public void disable()
public boolean supports(ViewEventType type)
public void addHandler(ViewEventType type, ViewHandler<? extends ViewEvent> eventHandler)
public void addHandlersRegistration(ViewEventType type, com.google.gwt.event.shared.HandlerRegistration... registrations)
protected com.google.gwt.event.shared.HandlerRegistration[] doAddHandler(ViewEventType type, ViewHandler<? extends ViewEvent> eventHandler)
public void removeHandler(ViewHandler<? extends ViewEvent> eventHandler)
public void destroy()
protected com.google.gwt.event.shared.HandlerRegistration[] registerGestureHandler(GestureHandler gestureHandler)
protected GestureEventImpl buildGestureEvent(com.ait.lienzo.client.core.event.AbstractNodeGestureEvent event)
protected com.google.gwt.event.shared.HandlerRegistration[] registerEnterHandler(ViewHandler<ViewEvent> eventHandler)
protected com.google.gwt.event.shared.HandlerRegistration[] registerExitHandler(ViewHandler<ViewEvent> eventHandler)
protected com.google.gwt.event.shared.HandlerRegistration[] registerClickHandler(ViewHandler<ViewEvent> eventHandler)
protected com.google.gwt.event.shared.HandlerRegistration[] registerDoubleClickHandler(ViewHandler<ViewEvent> eventHandler)
protected com.google.gwt.event.shared.HandlerRegistration[] registerTextDoubleClickHandler(ViewHandler<ViewEvent> eventHandler)
public void skipClickHandler()
public void restoreClickHandler()
protected com.google.gwt.event.shared.HandlerRegistration[] registerTouchHandler(TouchHandler touchHandler)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.