Class NatTableOperationHandler
java.lang.Object
org.eclipse.rap.rwt.remote.AbstractOperationHandler
org.eclipse.rap.rwt.internal.protocol.WidgetOperationHandler<org.eclipse.swt.widgets.Canvas>
org.eclipse.rap.rwt.internal.protocol.ControlOperationHandler<org.eclipse.swt.widgets.Canvas>
org.eclipse.swt.internal.widgets.canvaskit.CanvasOperationHandler
org.eclipse.nebula.widgets.nattable.NatTableOperationHandler
- All Implemented Interfaces:
Serializable,org.eclipse.rap.rwt.remote.OperationHandler
public class NatTableOperationHandler
extends org.eclipse.swt.internal.widgets.canvaskit.CanvasOperationHandler
Specialized
CanvasOperationHandler for NatTable. Needed to
- handle the mouse events correctly as the button state mask is not set in SWT
- add a handler for mouse wheel
- add a handler for mouse move
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanallowMouseEvent(org.eclipse.swt.widgets.Canvas control, int x, int y) voidhandleNotify(String eventName, org.eclipse.rap.json.JsonObject properties) voidhandleNotifyMouseDoubleClick(org.eclipse.rap.json.JsonObject properties) voidhandleNotifyMouseDown(org.eclipse.rap.json.JsonObject properties) voidhandleNotifyMouseMove(org.eclipse.rap.json.JsonObject properties) voidhandleNotifyMouseUp(org.eclipse.rap.json.JsonObject properties) voidhandleNotifyMouseWheel(org.eclipse.rap.json.JsonObject properties) Methods inherited from class org.eclipse.rap.rwt.internal.protocol.ControlOperationHandler
handleNotify, handleNotifyActivate, handleNotifyDeactivate, handleNotifyFocusIn, handleNotifyFocusOut, handleNotifyHelp, handleNotifyKeyDown, handleNotifyMenuDetect, handleNotifyMouseDoubleClick, handleNotifyMouseDown, handleNotifyMouseUp, handleNotifyTraverse, handleSet, handleSetBackground, handleSetCursor, handleSetEnabled, handleSetForeground, handleSetToolTip, handleSetVisibilityMethods inherited from class org.eclipse.rap.rwt.internal.protocol.WidgetOperationHandler
createSelectionEvent, handleCall, handleCall, handleSet, readBounds, readDetail, readStateMask
-
Constructor Details
-
NatTableOperationHandler
public NatTableOperationHandler(org.eclipse.swt.widgets.Canvas canvas)
-
-
Method Details
-
handleNotify
- Specified by:
handleNotifyin interfaceorg.eclipse.rap.rwt.remote.OperationHandler- Overrides:
handleNotifyin classorg.eclipse.rap.rwt.internal.protocol.WidgetOperationHandler<org.eclipse.swt.widgets.Canvas>
-
handleNotifyMouseDown
public void handleNotifyMouseDown(org.eclipse.rap.json.JsonObject properties) -
handleNotifyMouseDoubleClick
public void handleNotifyMouseDoubleClick(org.eclipse.rap.json.JsonObject properties) -
handleNotifyMouseUp
public void handleNotifyMouseUp(org.eclipse.rap.json.JsonObject properties) -
handleNotifyMouseWheel
public void handleNotifyMouseWheel(org.eclipse.rap.json.JsonObject properties) -
handleNotifyMouseMove
public void handleNotifyMouseMove(org.eclipse.rap.json.JsonObject properties) -
allowMouseEvent
protected boolean allowMouseEvent(org.eclipse.swt.widgets.Canvas control, int x, int y) - Overrides:
allowMouseEventin classorg.eclipse.rap.rwt.internal.protocol.ControlOperationHandler<org.eclipse.swt.widgets.Canvas>
-