Top Fields Constructors Methods
com.sun.glass.ui.gtk

pack-priv final Class GtkView

extends View
Class Inheritance
Imports
com.sun.glass.ui.Pixels, .View, java.nio.Buffer, .ByteBuffer, .IntBuffer, java.util.ArrayList, .Map

Field Summary

Modifier and TypeField and Description
private ByteBuffer
private boolean
private boolean
private int
private final StringBuilder
Inherited from com.sun.glass.ui.View:
GESTURE_NO_DOUBLE_VALUEGESTURE_NO_VALUEIME_ATTR_CONVERTEDIME_ATTR_INPUTIME_ATTR_INPUT_ERRORIME_ATTR_TARGET_CONVERTEDIME_ATTR_TARGET_NOTCONVERTED

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
_begin(long ptr)

Implements abstract com.sun.glass.ui.View._begin.

protected native boolean
_close(long ptr)

Implements abstract com.sun.glass.ui.View._close.

protected native long
_create(Map<K, V> caps)

Implements abstract com.sun.glass.ui.View._create.

protected void
_enableInputMethodEvents(long ptr, boolean enable)

Implements abstract com.sun.glass.ui.View._enableInputMethodEvents.

protected void
_end(long ptr)

Implements abstract com.sun.glass.ui.View._end.

protected native boolean
_enterFullscreen(long ptr, boolean animate, boolean keepRatio, boolean hideCursor)

Implements abstract com.sun.glass.ui.View._enterFullscreen.

protected native void
_exitFullscreen(long ptr, boolean animate)

Implements abstract com.sun.glass.ui.View._exitFullscreen.

protected void
protected int
protected native long
protected native int
_getX(long ptr)

Implements abstract com.sun.glass.ui.View._getX.

protected native int
_getY(long ptr)

Implements abstract com.sun.glass.ui.View._getY.

protected native void
protected native void
_setParent(long ptr, long parentPtr)

Implements abstract com.sun.glass.ui.View._setParent.

protected void
_uploadPixels(long ptr, Pixels pixels)

Implements abstract com.sun.glass.ui.View._uploadPixels.

private native void
_uploadPixelsByteArray(long viewPtr, byte[] pixels, int offset, int width, int height)

private native void
_uploadPixelsDirect(long viewPtr, Buffer pixels, int width, int height)

private native void
_uploadPixelsIntArray(long viewPtr, int[] pixels, int offset, int width, int height)

private native void
enableInputMethodEventsImpl(long ptr, boolean enable)

protected void
notifyInputMethodCaret(int pos, int direction, int style)

protected void
notifyInputMethodDraw(String text, int first, int length, int caret, byte[] attr)

private void
notifyPreeditMode(boolean enabled)

Inherited from com.sun.glass.ui.View:
closeenableInputMethodEventsenterFullscreenexitFullscreenfinishInputMethodCompositiongetEventHandlergetHeightgetMultiClickMaxXgetMultiClickMaxYgetMultiClickTimegetNativeFrameBuffergetNativeViewgetWidthgetWindowgetXgetYhandleBeginTouchEventhandleEndTouchEventhandleNextTouchEventhandleRotateGestureEventhandleScrollGestureEventhandleSwipeGestureEventhandleZoomGestureEventisClosedisInFullscreenlocknotifyBeginTouchEventnotifyDragDropnotifyDragEndnotifyDragEnternotifyDragLeavenotifyDragOvernotifyDragStartnotifyEndTouchEventnotifyInputMethodnotifyInputMethodCandidatePosRequestnotifyKeynotifyMenunotifyMousenotifyNextTouchEventnotifyRepaintnotifyResizenotifyRotateGestureEventnotifyScrollnotifyScrollGestureEventnotifySwipeGestureEventnotifyViewnotifyZoomGestureEventscheduleRepaintsetEventHandlertoggleFullscreenunlockupdateLocationuploadPixels

Field Detail

attributesback to summary
private ByteBuffer attributes
imEnabledback to summary
private boolean imEnabled
isInPreeditModeback to summary
private boolean isInPreeditMode
lastCaretback to summary
private int lastCaret
preeditback to summary
private final StringBuilder preedit

Constructor Detail

GtkViewback to summary
pack-priv GtkView()

Method Detail

_beginback to summary
protected void _begin(long ptr)

Implements abstract com.sun.glass.ui.View._begin.

Annotations
@Override
_closeback to summary
protected native boolean _close(long ptr)

Implements abstract com.sun.glass.ui.View._close.

Annotations
@Override
_createback to summary
protected native long _create(Map<K, V> caps)

Implements abstract com.sun.glass.ui.View._create.

Annotations
@Override
_enableInputMethodEventsback to summary
protected void _enableInputMethodEvents(long ptr, boolean enable)

Implements abstract com.sun.glass.ui.View._enableInputMethodEvents.

Annotations
@Override
_endback to summary
protected void _end(long ptr)

Implements abstract com.sun.glass.ui.View._end.

Annotations
@Override
_enterFullscreenback to summary
protected native boolean _enterFullscreen(long ptr, boolean animate, boolean keepRatio, boolean hideCursor)

Implements abstract com.sun.glass.ui.View._enterFullscreen.

Annotations
@Override
_exitFullscreenback to summary
protected native void _exitFullscreen(long ptr, boolean animate)

Implements abstract com.sun.glass.ui.View._exitFullscreen.

Annotations
@Override
_finishInputMethodCompositionback to summary
protected void _finishInputMethodComposition(long ptr)

Overrides com.sun.glass.ui.View._finishInputMethodComposition.

Annotations
@Override
_getNativeFrameBufferback to summary
protected int _getNativeFrameBuffer(long ptr)

Implements abstract com.sun.glass.ui.View._getNativeFrameBuffer.

Annotations
@Override
_getNativeViewback to summary
protected native long _getNativeView(long ptr)

Implements abstract com.sun.glass.ui.View._getNativeView.

Annotations
@Override
_getXback to summary
protected native int _getX(long ptr)

Implements abstract com.sun.glass.ui.View._getX.

Annotations
@Override
_getYback to summary
protected native int _getY(long ptr)

Implements abstract com.sun.glass.ui.View._getY.

Annotations
@Override
_scheduleRepaintback to summary
protected native void _scheduleRepaint(long ptr)

Implements abstract com.sun.glass.ui.View._scheduleRepaint.

Annotations
@Override
_setParentback to summary
protected native void _setParent(long ptr, long parentPtr)

Implements abstract com.sun.glass.ui.View._setParent.

Annotations
@Override
_uploadPixelsback to summary
protected void _uploadPixels(long ptr, Pixels pixels)

Implements abstract com.sun.glass.ui.View._uploadPixels.

Annotations
@Override
_uploadPixelsByteArrayback to summary
private native void _uploadPixelsByteArray(long viewPtr, byte[] pixels, int offset, int width, int height)
_uploadPixelsDirectback to summary
private native void _uploadPixelsDirect(long viewPtr, Buffer pixels, int width, int height)
_uploadPixelsIntArrayback to summary
private native void _uploadPixelsIntArray(long viewPtr, int[] pixels, int offset, int width, int height)
enableInputMethodEventsImplback to summary
private native void enableInputMethodEventsImpl(long ptr, boolean enable)
notifyInputMethodCaretback to summary
protected void notifyInputMethodCaret(int pos, int direction, int style)
notifyInputMethodDrawback to summary
protected void notifyInputMethodDraw(String text, int first, int length, int caret, byte[] attr)
notifyPreeditModeback to summary
private void notifyPreeditMode(boolean enabled)