final class SWTView extends View
View.Capability, View.EventHandler| Modifier and Type | Field and Description |
|---|---|
(package private) org.eclipse.swt.widgets.Canvas |
canvas |
(package private) org.eclipse.swt.dnd.DropTarget |
dropTarget |
(package private) static org.eclipse.swt.widgets.Shell |
hiddenShell |
(package private) long |
layerID |
GESTURE_NO_DOUBLE_VALUE, GESTURE_NO_VALUE, IME_ATTR_CONVERTED, IME_ATTR_INPUT, IME_ATTR_INPUT_ERROR, IME_ATTR_TARGET_CONVERTED, IME_ATTR_TARGET_NOTCONVERTED| Constructor and Description |
|---|
SWTView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_begin(long ptr) |
protected boolean |
_close(long ptr) |
protected long |
_create(java.util.Map caps) |
protected void |
_enableInputMethodEvents(long ptr,
boolean enable) |
protected void |
_end(long ptr) |
protected boolean |
_enterFullscreen(long ptr,
boolean animate,
boolean keepRatio,
boolean hideCursor) |
protected void |
_exitFullscreen(long ptr,
boolean animate) |
protected int |
_getNativeFrameBuffer(long ptr) |
protected long |
_getNativeView(long ptr) |
protected int |
_getX(long ptr) |
protected int |
_getY(long ptr) |
protected void |
_scheduleRepaint(long ptr) |
protected void |
_setParent(long ptr,
long parentPtr) |
protected void |
_uploadPixels(long ptr,
Pixels pixels) |
int |
getNativeRemoteLayerId(java.lang.String serverName)
Only used on Mac when run inside a plugin
|
int |
notifyDragDrop(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction) |
void |
notifyDragEnd(int performedAction) |
int |
notifyDragEnter(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction) |
void |
notifyDragLeave() |
int |
notifyDragOver(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction) |
void |
notifyDragStart(int button,
int x,
int y,
int xAbs,
int yAbs) |
(package private) void |
sendKeyEvent(org.eclipse.swt.widgets.Event event) |
(package private) void |
sendMouseEvent(org.eclipse.swt.widgets.Event event) |
_finishInputMethodComposition, close, enableInputMethodEvents, enterFullscreen, exitFullscreen, finishInputMethodComposition, getEventHandler, getHeight, getMultiClickMaxX, getMultiClickMaxY, getMultiClickTime, getNativeFrameBuffer, getNativeView, getWidth, getWindow, getX, getY, handleBeginTouchEvent, handleEndTouchEvent, handleNextTouchEvent, handleRotateGestureEvent, handleScrollGestureEvent, handleSwipeGestureEvent, handleZoomGestureEvent, isClosed, isInFullscreen, lock, notifyBeginTouchEvent, notifyEndTouchEvent, notifyInputMethod, notifyInputMethodCandidatePosRequest, notifyKey, notifyMenu, notifyMouse, notifyNextTouchEvent, notifyRepaint, notifyResize, notifyRotateGestureEvent, notifyScroll, notifyScrollGestureEvent, notifySwipeGestureEvent, notifyView, notifyZoomGestureEvent, scheduleRepaint, setEventHandler, toggleFullscreen, unlock, uploadPixelsorg.eclipse.swt.widgets.Canvas canvas
org.eclipse.swt.dnd.DropTarget dropTarget
static org.eclipse.swt.widgets.Shell hiddenShell
long layerID
protected void _enableInputMethodEvents(long ptr,
boolean enable)
_enableInputMethodEvents in class Viewprotected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer in class Viewpublic int getNativeRemoteLayerId(java.lang.String serverName)
ViewgetNativeRemoteLayerId in class Viewprotected long _getNativeView(long ptr)
_getNativeView in class Viewprotected void _scheduleRepaint(long ptr)
_scheduleRepaint in class Viewprotected boolean _enterFullscreen(long ptr,
boolean animate,
boolean keepRatio,
boolean hideCursor)
_enterFullscreen in class Viewprotected void _exitFullscreen(long ptr,
boolean animate)
_exitFullscreen in class Viewprotected void _setParent(long ptr,
long parentPtr)
_setParent in class Viewprotected void _uploadPixels(long ptr,
Pixels pixels)
_uploadPixels in class Viewvoid sendKeyEvent(org.eclipse.swt.widgets.Event event)
void sendMouseEvent(org.eclipse.swt.widgets.Event event)
public void notifyDragStart(int button,
int x,
int y,
int xAbs,
int yAbs)
notifyDragStart in class Viewpublic void notifyDragEnd(int performedAction)
notifyDragEnd in class Viewpublic int notifyDragEnter(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction)
notifyDragEnter in class Viewpublic int notifyDragOver(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction)
notifyDragOver in class Viewpublic void notifyDragLeave()
notifyDragLeave in class Viewpublic int notifyDragDrop(int x,
int y,
int xAbs,
int yAbs,
int recommendedDropAction)
notifyDragDrop in class View