final class GtkView extends View
View.Capability, View.EventHandler
Modifier and Type | Field and Description |
---|---|
private java.nio.ByteBuffer |
attributes |
private boolean |
imEnabled |
private boolean |
isInPreeditMode |
private int |
lastCaret |
private java.lang.StringBuilder |
preedit |
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 |
---|
GtkView() |
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 void |
_finishInputMethodComposition(long ptr) |
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) |
private void |
_uploadPixelsByteArray(long viewPtr,
byte[] pixels,
int offset,
int width,
int height) |
private void |
_uploadPixelsDirect(long viewPtr,
java.nio.Buffer pixels,
int width,
int height) |
private void |
_uploadPixelsIntArray(long viewPtr,
int[] pixels,
int offset,
int width,
int height) |
private void |
enableInputMethodEventsImpl(long ptr,
boolean enable) |
protected void |
notifyInputMethodCaret(int pos,
int direction,
int style) |
protected void |
notifyInputMethodDraw(java.lang.String text,
int first,
int length,
int caret,
byte[] attr) |
private void |
notifyPreeditMode(boolean enabled) |
close, enableInputMethodEvents, enterFullscreen, exitFullscreen, finishInputMethodComposition, getEventHandler, getHeight, getMultiClickMaxX, getMultiClickMaxY, getMultiClickTime, getNativeFrameBuffer, getNativeRemoteLayerId, 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 boolean imEnabled
private boolean isInPreeditMode
private final java.lang.StringBuilder preedit
private java.nio.ByteBuffer attributes
private int lastCaret
private void enableInputMethodEventsImpl(long ptr, boolean enable)
protected void _enableInputMethodEvents(long ptr, boolean enable)
_enableInputMethodEvents
in class View
protected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer
in class View
protected long _getNativeView(long ptr)
_getNativeView
in class View
protected void _setParent(long ptr, long parentPtr)
_setParent
in class View
protected void _scheduleRepaint(long ptr)
_scheduleRepaint
in class View
protected void _uploadPixels(long ptr, Pixels pixels)
_uploadPixels
in class View
private void _uploadPixelsDirect(long viewPtr, java.nio.Buffer pixels, int width, int height)
private void _uploadPixelsByteArray(long viewPtr, byte[] pixels, int offset, int width, int height)
private void _uploadPixelsIntArray(long viewPtr, int[] pixels, int offset, int width, int height)
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 _finishInputMethodComposition(long ptr)
_finishInputMethodComposition
in class View
private void notifyPreeditMode(boolean enabled)
protected void notifyInputMethodDraw(java.lang.String text, int first, int length, int caret, byte[] attr)
protected void notifyInputMethodCaret(int pos, int direction, int style)