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, uploadPixels
private 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 View
protected long _getNativeView(long ptr)
_getNativeView
in class View
protected void _scheduleRepaint(long ptr)
_scheduleRepaint
in class View
protected void _uploadPixels(long nativeViewPtr, Pixels pixels)
_uploadPixels
in class View
protected 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 View
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)
notifyScroll
in class View
void notifyRepaint()
protected void notifyResize(int width, int height)
notifyResize
in class View
protected void notifyView(int viewEvent)
notifyView
in class View
protected int notifyDragEnter(int x, int y, int absx, int absy, int recommendedDropAction)
notifyDragEnter
in class View
protected void notifyDragLeave()
notifyDragLeave
in class View
protected int notifyDragDrop(int x, int y, int absx, int absy, int recommendedDropAction)
notifyDragDrop
in class View
protected int notifyDragOver(int x, int y, int absx, int absy, int recommendedDropAction)
notifyDragOver
in class View
protected void notifyDragEnd(int performedAction)
notifyDragEnd
in class View
protected void notifyMenu(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger)
notifyMenu
in class View
protected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer
in class View
protected void _setParent(long ptr, long parentPtr)
_setParent
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
public java.lang.String toString()
toString
in class java.lang.Object
protected void _begin(long ptr)