| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final PaintCollector | |
| private final GlassSceneDnDEventHandler | |
| private ClipboardAssistance | |
| private final GestureRecognizers | |
| private final GlassViewEventHandler. | |
| private int | |
| private final GlassViewEventHandler. | |
| pack-priv static boolean | |
| private ViewScene | |
| pack-priv static boolean | |
| private final GlassViewEventHandler. | |
| pack-priv static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static TransferMode | |
| public double[] | getInputMethodCandidatePos(int offset)
Overrides com.
|
| public Accessible | |
| public void | handleBeginTouchEvent(View view, final long time, final int modifiers, final boolean isDirect, final int touchEventCount)
Overrides com. Touch event handler. |
| public int | handleDragDrop(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant)
Overrides com.
|
| public void | handleDragEnd(View view, final int performedAction)
Overrides com.
|
| public int | handleDragEnter(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant)
Overrides com.
|
| public void | handleDragLeave(View view, final ClipboardAssistance dropTargetAssistant)
Overrides com.
|
| public int | handleDragOver(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant)
Overrides com.
|
| public void | handleDragStart(View view, final int button, final int x, final int y, final int xAbs, final int yAbs, final ClipboardAssistance assistant)
Overrides com.
|
| public void | handleEndTouchEvent(View view, long time)
Overrides com. Touch event handler. |
| public void | handleInputMethodEvent(final long time, final String text, final int[] clauseBoundary, final int[] attrBoundary, final byte[] attrValue, final int commitCount, final int cursorPos)
Overrides com.
|
| public boolean | handleKeyEvent(View view, long time, int type, int key, char[] chars, int modifiers)
Overrides com.
|
| public boolean | handleMenuEvent(final View view, final int x, final int y, final int xAbs, final int yAbs, final boolean isKeyboardTrigger)
Overrides com.
|
| public void | handleMouseEvent(View view, long time, int type, int button, int x, int y, int xAbs, int yAbs, int modifiers, boolean isPopupTrigger, boolean isSynthesized)
Overrides com.
|
| public void | handleNextTouchEvent(View view, final long time, final int type, final long touchId, final int x, final int y, final int xAbs, final int yAbs)
Overrides com. Touch event handler. |
| public void | handleRotateGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int originx, final int originy, final int originxAbs, final int originyAbs, final double dangle, final double totalangle)
Overrides com. Rotation gesture handler. |
| public void | handleScrollEvent(final View view, final long time, final int x, final int y, final int xAbs, final int yAbs, final double deltaX, final double deltaY, final int modifiers, final int lines, final int chars, final int defaultLines, final int defaultChars, final double xMultiplier, final double yMultiplier)
Overrides com. A Scroll event handler. |
| public void | handleScrollGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int touchCount, final int x, final int y, final int xAbs, final int yAbs, final double dx, final double dy, final double totaldx, final double totaldy, final double multiplierX, final double multiplierY)
Overrides com. Scroll gesture handler. |
| public void | handleSwipeGestureEvent(View view, final long time, int type, final int modifiers, final boolean isDirect, boolean isInertia, final int touchCount, final int dir, final int x, final int y, final int xAbs, final int yAbs)
Overrides com. Swipe gesture handler. |
| public void | handleViewEvent(View view, long time, final int type)
Overrides com.
|
| public void | handleZoomGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int originx, final int originy, final int originxAbs, final int originyAbs, final double scale, double expansion, final double totalscale, double totalexpansion)
Overrides com. Zoom gesture handler. |
| private static byte | |
| private static ObservableList | inputMethodEventComposed(String text, int commitCount, int[] clauseBoundary, int[] attrBoundary, byte[] attrValue)
|
| private static EventType | |
| private static MouseButton | |
| private static EventType | |
| public HeaderAreaType | pickHeaderArea(double x, double y)
Overrides com. Returns the header area type at the specified coordinates, or |
| private static int |
| collector | back to summary |
|---|---|
| private final PaintCollector collector | |
| dndHandler | back to summary |
|---|---|
| private final GlassSceneDnDEventHandler dndHandler | |
| dropSourceAssistant | back to summary |
|---|---|
| private ClipboardAssistance dropSourceAssistant | |
| gestures | back to summary |
|---|---|
| private final GestureRecognizers gestures | |
| keyNotification | back to summary |
|---|---|
| private final GlassViewEventHandler. | |
| mouseButtonPressedMask | back to summary |
|---|---|
| private int mouseButtonPressedMask | |
| mouseNotification | back to summary |
|---|---|
| private final GlassViewEventHandler. | |
| rotateGestureEnabled | back to summary |
|---|---|
| pack-priv static boolean rotateGestureEnabled | |
| scene | back to summary |
|---|---|
| private ViewScene scene | |
| scrollGestureEnabled | back to summary |
|---|---|
| pack-priv static boolean scrollGestureEnabled | |
| viewNotification | back to summary |
|---|---|
| private final GlassViewEventHandler. | |
| zoomGestureEnabled | back to summary |
|---|---|
| pack-priv static boolean zoomGestureEnabled | |
| GlassViewEventHandler | back to summary |
|---|---|
| public GlassViewEventHandler(final ViewScene scene) | |
| actionToTransferMode | back to summary |
|---|---|
| private static TransferMode actionToTransferMode(int dropActions) | |
| getInputMethodCandidatePos | back to summary |
|---|---|
| public double[] getInputMethodCandidatePos(int offset) Overrides com.
| |
| getSceneAccessible | back to summary |
|---|---|
| public Accessible getSceneAccessible() Overrides com.
| |
| handleBeginTouchEvent | back to summary |
|---|---|
| public void handleBeginTouchEvent(View view, final long time, final int modifiers, final boolean isDirect, final int touchEventCount) Overrides com. Doc from com. Touch event handler. Called when touch event occures. Always followed with one ore more #handleNextTouchEvent() calls and a single #handleEndTouchEvent() call.
| |
| handleDragDrop | back to summary |
|---|---|
| public int handleDragDrop(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant) Overrides com.
| |
| handleDragEnd | back to summary |
|---|---|
| public void handleDragEnd(View view, final int performedAction) Overrides com.
| |
| handleDragEnter | back to summary |
|---|---|
| public int handleDragEnter(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant) Overrides com.
| |
| handleDragLeave | back to summary |
|---|---|
| public void handleDragLeave(View view, final ClipboardAssistance dropTargetAssistant) Overrides com.
| |
| handleDragOver | back to summary |
|---|---|
| public int handleDragOver(View view, final int x, final int y, final int xAbs, final int yAbs, final int recommendedDropAction, final ClipboardAssistance dropTargetAssistant) Overrides com.
| |
| handleDragStart | back to summary |
|---|---|
| public void handleDragStart(View view, final int button, final int x, final int y, final int xAbs, final int yAbs, final ClipboardAssistance assistant) Overrides com.
| |
| handleEndTouchEvent | back to summary |
|---|---|
| public void handleEndTouchEvent(View view, long time) Overrides com. Doc from com. Touch event handler. Called to notify that all #handleNextTouchEvent methods corresponding to some touch event have been called already.
| |
| handleInputMethodEvent | back to summary |
|---|---|
| public void handleInputMethodEvent(final long time, final String text, final int[] clauseBoundary, final int[] attrBoundary, final byte[] attrValue, final int commitCount, final int cursorPos) Overrides com.
| |
| handleKeyEvent | back to summary |
|---|---|
| public boolean handleKeyEvent(View view, long time, int type, int key, char[] chars, int modifiers) Overrides com.
| |
| handleMenuEvent | back to summary |
|---|---|
| public boolean handleMenuEvent(final View view, final int x, final int y, final int xAbs, final int yAbs, final boolean isKeyboardTrigger) Overrides com.
| |
| handleMouseEvent | back to summary |
|---|---|
| public void handleMouseEvent(View view, long time, int type, int button, int x, int y, int xAbs, int yAbs, int modifiers, boolean isPopupTrigger, boolean isSynthesized) Overrides com.
| |
| handleNextTouchEvent | back to summary |
|---|---|
| public void handleNextTouchEvent(View view, final long time, final int type, final long touchId, final int x, final int y, final int xAbs, final int yAbs) Overrides com. Doc from com. Touch event handler. Called for every touch point in some touch event. If the touch event has been emitted with direct touch device (touch screen) then x and y arguments designate touch point position relative to the top-left corner of the view and xAbs and yAbs arguments designate position relative to the top-left corner of the screen. Both positions are measured in pixels. If the touch event has been emitted with indirect touch device (touch pad) then x and y arguments designate normalized touch point position. It is measured between (0,0) and (10000,10000), where (0,0) is the top-left and (10000,10000) is the bottom-right position on the indirect touch input device (touch pad). xAbs and yAbs arguments are equal values of x and y arguments respectively.
| |
| handleRotateGestureEvent | back to summary |
|---|---|
| public void handleRotateGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int originx, final int originy, final int originxAbs, final int originyAbs, final double dangle, final double totalangle) Overrides com. Doc from com. Rotation gesture handler. For description of isDirect argument see #handleBeginTouchEvent method. For description of isInertia argument see #handleScrollGestureEvent method. For description of type, x,y, xAbs and yAbs arguments see #handleBeginTouchEvent method.
| |
| handleScrollEvent | back to summary |
|---|---|
| public void handleScrollEvent(final View view, final long time, final int x, final int y, final int xAbs, final int yAbs, final double deltaX, final double deltaY, final int modifiers, final int lines, final int chars, final int defaultLines, final int defaultChars, final double xMultiplier, final double yMultiplier) Overrides com. Doc from com. A Scroll event handler. The lines argument: > 0 - a number of lines to scroll per each 1.0 of deltaY scroll amount == 0 - the scroll amount is in pixel units < 0 - the scrolling should be performed by pages. Each 1.0 of scroll amount corresponds to exactly one page of scrollable content. Similarly, the chars argument specifies the number of characters to scroll per 1.0 of the deltaX scrolling amount. If the parameter is zero, the deltaX represents the number of pixels to scroll. The defaultLines and defaultChars arguments contain the system-default values of lines and chars. This can be used by the app to compute the ratio of current settings and default settings and adjust the pixel values accordingly. Multiplers are used when an app receives a non-zero unit values (i.e. either the lines or chars are not zeroes), but wants instead get delta values in pixels. In this case the app needs to multiply the deltas on the provided multiplier parameter.
| |
| handleScrollGestureEvent | back to summary |
|---|---|
| public void handleScrollGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int touchCount, final int x, final int y, final int xAbs, final int yAbs, final double dx, final double dy, final double totaldx, final double totaldy, final double multiplierX, final double multiplierY) Overrides com. Doc from com. Scroll gesture handler. If underlying system supports coordinates for gestures then x and y arguments designate gesture position relative to the top-left corner of the view and xAbs and yAbs designate gesture position relative to the top-left corner of the screen. For gestures emitted from direct touch input device (touch screen) positions are measured in pixels. For gestures emitted from indirect touch input device (touch pad) positions are normalized. For details of normalized touch input position see #handleBeginTouchEvent method. If underlying system doesn't support coordinates for gestures then x and y arguments designate mouse position relative to the top-left corner of the view and xAbs and yAbs designate mouse position relative to the top-left corner of the screen. Positions are measured in pixels. If gesture handler is called to notify end of gesture, i.e. value of type argument is equal to com.sun.glass.events.GestureEvent.GESTURE_FINISHED constant then x, y, xAbs and yAbs arguments may be set to View.GESTURE_NO_VALUE constant indicating no data is available. This is implementation specific behavior. Values of dx and dy arguments are always 0.0 if type argument is set to com.sun.glass.events.GestureEvent.GESTURE_FINISHED constant. For description of isDirect argument see #handleBeginTouchEvent method.
| |
| handleSwipeGestureEvent | back to summary |
|---|---|
| public void handleSwipeGestureEvent(View view, final long time, int type, final int modifiers, final boolean isDirect, boolean isInertia, final int touchCount, final int dir, final int x, final int y, final int xAbs, final int yAbs) Overrides com. Doc from com. Swipe gesture handler. For description of isDirect argument see #handleBeginTouchEvent method. For description of isInertia and touchCount arguments see #handleScrollGestureEvent method. For description of type, x,y, xAbs and yAbs arguments see #handleBeginTouchEvent method.
| |
| handleViewEvent | back to summary |
|---|---|
| public void handleViewEvent(View view, long time, final int type) Overrides com.
| |
| handleZoomGestureEvent | back to summary |
|---|---|
| public void handleZoomGestureEvent(View view, final long time, final int type, final int modifiers, final boolean isDirect, final boolean isInertia, final int originx, final int originy, final int originxAbs, final int originyAbs, final double scale, double expansion, final double totalscale, double totalexpansion) Overrides com. Doc from com. Zoom gesture handler. For description of isDirect argument see #handleBeginTouchEvent method. For description of isInertia argument see #handleScrollGestureEvent method. For description of type, x,y, xAbs and yAbs arguments see #handleBeginTouchEvent method. If underlying system doesn't support measurement of expansion value in zoom gestures then expansion and totalexpansion arguments are always set to View.GESTURE_NO_DOUBLE_VALUE. If type argument is set to com.sun.glass.events.GestureEvent.GESTURE_FINISHED constant value of scale argument is always set to View.GESTURE_NO_DOUBLE_VALUE constant and expansion argument is always 0.0.
| |
| inputMethodEventAttrValue | back to summary |
|---|---|
| private static byte inputMethodEventAttrValue(int pos, int[] attrBoundary, byte[] attrValue) | |
| inputMethodEventComposed | back to summary |
|---|---|
| private static ObservableList | |
| keyEventType | back to summary |
|---|---|
| private static EventType | |
| mouseEventButton | back to summary |
|---|---|
| private static MouseButton mouseEventButton(int glassButton) | |
| mouseEventType | back to summary |
|---|---|
| private static EventType | |
| pickHeaderArea | back to summary |
|---|---|
| public HeaderAreaType pickHeaderArea(double x, double y) Overrides com. Doc from com. Returns the header area type at the specified coordinates, or
| |
| transferModeToAction | back to summary |
|---|---|
| private static int transferModeToAction(TransferMode tm) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv char[] | |
| pack-priv int | |
| private KeyCode | |
| pack-priv int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv View |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Boolean |
| chars | back to summary |
|---|---|
| pack-priv char[] chars | |
| key | back to summary |
|---|---|
| pack-priv int key | |
| lastKeyCode | back to summary |
|---|---|
| private KeyCode lastKeyCode | |
| modifiers | back to summary |
|---|---|
| pack-priv int modifiers | |
| time | back to summary |
|---|---|
| pack-priv long time | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| view | back to summary |
|---|---|
| pack-priv View view | |
| KeyEventNotification | back to summary |
|---|---|
| private KeyEventNotification() | |
| get | back to summary |
|---|---|
| public Boolean get() Implements java. Doc from java. Gets a result.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv View | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Void |
| button | back to summary |
|---|---|
| pack-priv int button | |
| isPopupTrigger | back to summary |
|---|---|
| pack-priv boolean isPopupTrigger | |
| isSynthesized | back to summary |
|---|---|
| pack-priv boolean isSynthesized | |
| modifiers | back to summary |
|---|---|
| pack-priv int modifiers | |
| time | back to summary |
|---|---|
| pack-priv long time | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| view | back to summary |
|---|---|
| pack-priv View view | |
| x | back to summary |
|---|---|
| pack-priv int x | |
| xAbs | back to summary |
|---|---|
| pack-priv int xAbs | |
| y | back to summary |
|---|---|
| pack-priv int y | |
| yAbs | back to summary |
|---|---|
| pack-priv int yAbs | |
| MouseEventNotification | back to summary |
|---|---|
| private MouseEventNotification() | |
| get | back to summary |
|---|---|
| public Void get() Implements java. Doc from java. Gets a result.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv int | |
| pack-priv View |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Void |
| time | back to summary |
|---|---|
| pack-priv long time | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| view | back to summary |
|---|---|
| pack-priv View view | |
| ViewEventNotification | back to summary |
|---|---|
| private ViewEventNotification() | |
| get | back to summary |
|---|---|
| public Void get() Implements java. Doc from java. Gets a result.
| |