final class MonocleView extends View
View.Capability, View.EventHandler| Modifier and Type | Field and Description |
|---|---|
private boolean |
cursorVisibility |
private static int |
multiClickMaxX |
private static int |
multiClickMaxY |
private static long |
multiClickTime |
private boolean |
resetCursorVisibility |
private int |
x |
private int |
y |
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 |
|---|
MonocleView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_begin(long ptr)
Assuming this is used to lock the surface for painting
|
protected boolean |
_close(long ptr) |
protected long |
_create(java.util.Map caps) |
protected void |
_enableInputMethodEvents(long ptr,
boolean enable) |
protected void |
_end(long ptr)
Assuming this is used to unlock the surface after painting is
done
|
protected boolean |
_enterFullscreen(long ptr,
boolean animate,
boolean keepRatio,
boolean hideCursor) |
protected void |
_exitFullscreen(long ptr,
boolean animate) |
(package private) static int |
_getMultiClickMaxX() |
(package private) static int |
_getMultiClickMaxY() |
(package private) static long |
_getMultiClickTime() |
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 nativeViewPtr,
Pixels pixels) |
protected int |
notifyDragDrop(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
notifyDragEnd(int performedAction) |
protected int |
notifyDragEnter(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
notifyDragLeave() |
protected int |
notifyDragOver(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
notifyKey(int type,
int keyCode,
char[] keyChars,
int modifiers)
Events
|
protected void |
notifyMenu(int x,
int y,
int xAbs,
int yAbs,
boolean isKeyboardTrigger) |
protected void |
notifyMouse(int type,
int button,
int x,
int y,
int xAbs,
int yAbs,
int modifiers,
boolean isPopupTrigger,
boolean isSynthesized) |
(package private) void |
notifyRepaint() |
protected void |
notifyResize(int width,
int height) |
protected void |
notifyScroll(int x,
int y,
int xAbs,
int yAbs,
double deltaX,
double deltaY,
int modifiers,
int lines,
int chars,
int defaultLines,
int defaultChars,
double xMultiplier,
double yMultiplier) |
protected void |
notifyView(int viewEvent) |
java.lang.String |
toString() |
_finishInputMethodComposition, 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, notifyDragStart, notifyEndTouchEvent, notifyInputMethod, notifyInputMethodCandidatePosRequest, notifyNextTouchEvent, notifyRepaint, notifyRotateGestureEvent, notifyScrollGestureEvent, notifySwipeGestureEvent, notifyZoomGestureEvent, scheduleRepaint, setEventHandler, toggleFullscreen, unlock, uploadPixelsprivate boolean cursorVisibility
private boolean resetCursorVisibility
private static long multiClickTime
private static int multiClickMaxX
private static int multiClickMaxY
private int x
private int y
static long _getMultiClickTime()
static int _getMultiClickMaxX()
static int _getMultiClickMaxY()
protected void _enableInputMethodEvents(long ptr,
boolean enable)
_enableInputMethodEvents in class Viewprotected long _getNativeView(long ptr)
_getNativeView in class Viewprotected void _scheduleRepaint(long ptr)
_scheduleRepaint in class Viewprotected void _uploadPixels(long nativeViewPtr,
Pixels pixels)
_uploadPixels in class Viewprotected void notifyKey(int type,
int keyCode,
char[] keyChars,
int modifiers)
protected void notifyMouse(int type,
int button,
int x,
int y,
int xAbs,
int yAbs,
int modifiers,
boolean isPopupTrigger,
boolean isSynthesized)
notifyMouse in class Viewprotected void notifyScroll(int x,
int y,
int xAbs,
int yAbs,
double deltaX,
double deltaY,
int modifiers,
int lines,
int chars,
int defaultLines,
int defaultChars,
double xMultiplier,
double yMultiplier)
notifyScroll in class Viewvoid notifyRepaint()
protected void notifyResize(int width,
int height)
notifyResize in class Viewprotected void notifyView(int viewEvent)
notifyView in class Viewprotected int notifyDragEnter(int x,
int y,
int absx,
int absy,
int recommendedDropAction)
notifyDragEnter in class Viewprotected void notifyDragLeave()
notifyDragLeave in class Viewprotected int notifyDragDrop(int x,
int y,
int absx,
int absy,
int recommendedDropAction)
notifyDragDrop in class Viewprotected int notifyDragOver(int x,
int y,
int absx,
int absy,
int recommendedDropAction)
notifyDragOver in class Viewprotected void notifyDragEnd(int performedAction)
notifyDragEnd in class Viewprotected void notifyMenu(int x,
int y,
int xAbs,
int yAbs,
boolean isKeyboardTrigger)
notifyMenu in class Viewprotected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer in class Viewprotected void _setParent(long ptr,
long parentPtr)
_setParent 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 Viewpublic java.lang.String toString()
toString in class java.lang.Objectprotected void _begin(long ptr)