final class MacView extends View
View.Capability, View.EventHandler
Modifier and Type | Field and Description |
---|---|
private static int |
multiClickMaxX |
private static int |
multiClickMaxY |
private static long |
multiClickTime |
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 |
---|
MacView() |
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) |
private static int |
_getMultiClickMaxX_impl() |
private static int |
_getMultiClickMaxY_impl() |
private static long |
_getMultiClickTime_impl() |
protected int |
_getNativeFrameBuffer(long ptr) |
protected long |
_getNativeLayer(long ptr) |
protected int |
_getNativeRemoteLayerId(long ptr,
java.lang.String serverName) |
protected long |
_getNativeView(long ptr) |
protected int |
_getX(long ptr) |
protected int |
_getY(long ptr) |
protected void |
_hostRemoteLayerId(long ptr,
int nativeLayerId) |
private static void |
_initIDs() |
protected void |
_scheduleRepaint(long ptr) |
protected void |
_setParent(long ptr,
long parentPtr) |
protected void |
_uploadPixels(long ptr,
Pixels pixels) |
(package private) void |
_uploadPixelsByteArray(long viewPtr,
byte[] pixels,
int offset,
int width,
int height,
float scale) |
(package private) void |
_uploadPixelsDirect(long viewPtr,
java.nio.Buffer pixels,
int width,
int height,
float scale) |
(package private) void |
_uploadPixelsIntArray(long viewPtr,
int[] pixels,
int offset,
int width,
int height,
float scale) |
(package private) static int |
getMultiClickMaxX_impl() |
(package private) static int |
getMultiClickMaxY_impl() |
(package private) static long |
getMultiClickTime_impl() |
long |
getNativeLayer() |
int |
getNativeRemoteLayerId(java.lang.String serverName)
Only used on Mac when run inside a plugin
|
void |
hostRemoteLayerId(int nativeLayerId) |
protected void |
notifyInputMethodMac(java.lang.String str,
int attrib,
int length,
int cursor,
int selStart,
int selLength) |
_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, notifyDragDrop, notifyDragEnd, notifyDragEnter, notifyDragLeave, notifyDragOver, notifyDragStart, notifyEndTouchEvent, notifyInputMethod, notifyInputMethodCandidatePosRequest, notifyKey, notifyMenu, notifyMouse, notifyNextTouchEvent, notifyRepaint, notifyResize, notifyRotateGestureEvent, notifyScroll, notifyScrollGestureEvent, notifySwipeGestureEvent, notifyView, notifyZoomGestureEvent, scheduleRepaint, setEventHandler, toggleFullscreen, unlock, uploadPixels
private static final long multiClickTime
private static final int multiClickMaxX
private static final int multiClickMaxY
private static void _initIDs()
private static long _getMultiClickTime_impl()
private static int _getMultiClickMaxX_impl()
private static int _getMultiClickMaxY_impl()
static long getMultiClickTime_impl()
static int getMultiClickMaxX_impl()
static int getMultiClickMaxY_impl()
protected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer
in class View
protected void _setParent(long ptr, long parentPtr)
_setParent
in class View
protected void _scheduleRepaint(long ptr)
_scheduleRepaint
in class View
protected boolean _enterFullscreen(long ptr, boolean animate, boolean keepRatio, boolean hideCursor)
_enterFullscreen
in class View
protected void _exitFullscreen(long ptr, boolean animate)
_exitFullscreen
in class View
protected void _enableInputMethodEvents(long ptr, boolean enable)
_enableInputMethodEvents
in class View
protected void _uploadPixels(long ptr, Pixels pixels)
_uploadPixels
in class View
void _uploadPixelsDirect(long viewPtr, java.nio.Buffer pixels, int width, int height, float scale)
void _uploadPixelsByteArray(long viewPtr, byte[] pixels, int offset, int width, int height, float scale)
void _uploadPixelsIntArray(long viewPtr, int[] pixels, int offset, int width, int height, float scale)
protected long _getNativeView(long ptr)
_getNativeView
in class View
protected long _getNativeLayer(long ptr)
public long getNativeLayer()
protected int _getNativeRemoteLayerId(long ptr, java.lang.String serverName)
public int getNativeRemoteLayerId(java.lang.String serverName)
View
getNativeRemoteLayerId
in class View
protected void _hostRemoteLayerId(long ptr, int nativeLayerId)
public void hostRemoteLayerId(int nativeLayerId)
protected void notifyInputMethodMac(java.lang.String str, int attrib, int length, int cursor, int selStart, int selLength)