| Modifier and Type | Field and Description |
|---|---|
| private IntSet | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private BitSet | dragActions
What drag actions have been performed? |
| private int | dragButton
What button started the drag operation? |
| private boolean | dragInProgress
Are we currently processing drag and drop? |
| private MonocleView | dragView
On what View is the drag operation currently over? |
| private static MouseInput | |
| private MouseState |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MouseInput | |
| pack-priv void | getState(MouseState
a MouseState to which to copy data on the current mouse
buttons and coordinates. result)Retrieves the current state of mouse buttons and of the cursor. |
| pack-priv void | |
| private void | notifyMouse(MonocleView view, int eventType, int button, int relX, int relY, int x, int y, int modifiers, boolean isPopupTrigger, boolean synthesized)
|
| private void | postMouseEvent(MonocleView view, int eventType, int button, int relX, int relY, int x, int y, int modifiers, boolean isPopupTrigger, boolean synthesized)
|
| pack-priv void | setState(MouseState
the new state newState, boolean true if this state change is synthesized from a change
in touch state; false if this state change comes from
an actual relative pointing devices or from the Glass
robot. synthesized)Sets a new state for mouse buttons and coordinates, generating input events where appropriate. |
| buttons | back to summary |
|---|---|
| private IntSet buttons | |
| DRAG_DROP | back to summary |
|---|---|
| private static final int DRAG_DROP | |
| DRAG_ENTER | back to summary |
|---|---|
| private static final int DRAG_ENTER | |
| DRAG_LEAVE | back to summary |
|---|---|
| private static final int DRAG_LEAVE | |
| DRAG_OVER | back to summary |
|---|---|
| private static final int DRAG_OVER | |
| dragActions | back to summary |
|---|---|
| private BitSet dragActions What drag actions have been performed? | |
| dragButton | back to summary |
|---|---|
| private int dragButton What button started the drag operation? | |
| dragInProgress | back to summary |
|---|---|
| private boolean dragInProgress Are we currently processing drag and drop? | |
| dragView | back to summary |
|---|---|
| private MonocleView dragView On what View is the drag operation currently over? | |
| instance | back to summary |
|---|---|
| private static MouseInput instance | |
| state | back to summary |
|---|---|
| private MouseState state | |
| MouseInput | back to summary |
|---|---|
| pack-priv MouseInput() | |
| getInstance | back to summary |
|---|---|
| pack-priv static MouseInput getInstance() | |
| getState | back to summary |
|---|---|
| pack-priv void getState(MouseState result) Retrieves the current state of mouse buttons and of the cursor.
| |
| notifyDragStart | back to summary |
|---|---|
| pack-priv void notifyDragStart() | |
| notifyMouse | back to summary |
|---|---|
| private void notifyMouse(MonocleView view, int eventType, int button, int relX, int relY, int x, int y, int modifiers, boolean isPopupTrigger, boolean synthesized) | |
| postMouseEvent | back to summary |
|---|---|
| private void postMouseEvent(MonocleView view, int eventType, int button, int relX, int relY, int x, int y, int modifiers, boolean isPopupTrigger, boolean synthesized) | |
| setState | back to summary |
|---|---|
| pack-priv void setState(MouseState newState, boolean synthesized) Sets a new state for mouse buttons and coordinates, generating input events where appropriate.
| |