Top Description Fields Constructors Methods
com.sun.glass.ui.mac

pack-priv final Class MacView

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

MacOSX platform implementation class for View.

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final long
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 native 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 native void
_enableInputMethodEvents(long ptr, boolean enable)

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

protected native 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 native void
private static native int
private static native int
private static native long
protected native int
protected native long
_getNativeLayer(long ptr)

protected 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.

private static native void
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, float scaleX, float scaleY)

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

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

pack-priv static int
pack-priv static int
pack-priv static long
public long
protected void
notifyInputMethodMac(String str, int attrib, int length, int cursor, int selStart, int selLength)

protected void
notifyMouse(int type, int button, int x, int y, int xAbs, int yAbs, int modifiers, boolean isPopupTrigger, boolean isSynthesized)

Overrides com.sun.glass.ui.View.notifyMouse.

protected void
notifyResize(int width, int height)

Overrides com.sun.glass.ui.View.notifyResize.

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

Field Detail

multiClickMaxXback to summary
private static final int multiClickMaxX
multiClickMaxYback to summary
private static final int multiClickMaxY
multiClickTimeback to summary
private static final long multiClickTime

Constructor Detail

MacViewback to summary
pack-priv MacView()

Method Detail

_beginback to summary
protected native 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 native void _enableInputMethodEvents(long ptr, boolean enable)

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

Annotations
@Override
_endback to summary
protected native 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 native void _finishInputMethodComposition(long ptr)

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

Annotations
@Override
_getMultiClickMaxX_implback to summary
private static native int _getMultiClickMaxX_impl()
_getMultiClickMaxY_implback to summary
private static native int _getMultiClickMaxY_impl()
_getMultiClickTime_implback to summary
private static native long _getMultiClickTime_impl()
_getNativeFrameBufferback to summary
protected native int _getNativeFrameBuffer(long ptr)

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

Annotations
@Override
_getNativeLayerback to summary
protected native long _getNativeLayer(long ptr)
_getNativeViewback to summary
protected 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
_initIDsback to summary
private static native void _initIDs()
_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, float scaleX, float scaleY)
_uploadPixelsDirectback to summary
private native void _uploadPixelsDirect(long viewPtr, Buffer pixels, int width, int height, float scaleX, float scaleY)
_uploadPixelsIntArrayback to summary
private native void _uploadPixelsIntArray(long viewPtr, int[] pixels, int offset, int width, int height, float scaleX, float scaleY)
getMultiClickMaxX_implback to summary
pack-priv static int getMultiClickMaxX_impl()
getMultiClickMaxY_implback to summary
pack-priv static int getMultiClickMaxY_impl()
getMultiClickTime_implback to summary
pack-priv static long getMultiClickTime_impl()
getNativeLayerback to summary
public long getNativeLayer()
notifyInputMethodMacback to summary
protected void notifyInputMethodMac(String str, int attrib, int length, int cursor, int selStart, int selLength)
notifyMouseback to summary
protected void notifyMouse(int type, int button, int x, int y, int xAbs, int yAbs, int modifiers, boolean isPopupTrigger, boolean isSynthesized)

Overrides com.sun.glass.ui.View.notifyMouse.

Annotations
@Override
notifyResizeback to summary
protected void notifyResize(int width, int height)

Overrides com.sun.glass.ui.View.notifyResize.

Annotations
@Override