Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperMouse
Source: src/com/multiversesocial/hyperview/HyperMouse.java
boolean focusLock; static Object viewFocusLock; AKA An Excerpt from Somewhere in the JDK Source
Extends: Component
Implements: Runnable, HyperConstants, MouseHandlerConstants, ThreadReport
public class HyperMouse extends Component implements Runnable, HyperConstants, MouseHandlerConstants, ThreadReport
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
int clickCount | No comment in source; assigned in HyperMouse(), run(). | ||
int[][] coordinates | No comment in source; assigned in HyperMouse(); used in run(). | ||
HyperView curView | No comment in source; assigned in HyperMouse(), setView(); used in run(), forbid(). | ||
long doubleClickTime | No comment in source; assigned in HyperMouse(); used in run(). | ||
FileOutputStream fp | No comment in source; not referenced by name in this type’s methods. | ||
volatile int intBufferIndex | No comment in source; assigned in HyperMouse(); used in run(). | ||
int iteration | No comment in source; assigned in HyperMouse(), run(), getRunInfo(); used in start(). | ||
HyperKeyboard keyboard | No comment in source; assigned in HyperMouse(), setView(); used in run(). | ||
int lastIteration | No comment in source; assigned in HyperMouse(). | ||
long lastRun | No comment in source; assigned in HyperMouse(), run(), getRunInfo(). | ||
volatile Gadget leftGrabGadget | No comment in source; used in run(). | ||
volatile int mainBufferIndex | No comment in source; assigned in HyperMouse(), run(). | ||
int maxCoordinates | No comment in source; assigned in HyperMouse(); used in run(). | ||
HyperMenu menuBase | No comment in source; assigned in HyperMouse(), setView(), run(). | ||
volatile int mouseFlags | No comment in source; assigned in HyperMouse(), start(), run(), forbid(), permit(). | ||
Thread mouseTask | No comment in source; assigned in start(), halt(), kickStart(); used in run(). | ||
volatile int mouseX | No comment in source; assigned in run(). | ||
volatile int mouseY | No comment in source; assigned in run(). | ||
volatile MouseEvent[] msg | No comment in source; assigned in HyperMouse(), flush(); used in run(). | ||
long now | Time of the last HyperView() run of this Thread | ||
RunInfo runInfo | No comment in source; assigned in HyperMouse(); used in start(), halt(), run(), getRunInfo(). | ||
long runLag | No comment in source; assigned in HyperMouse(), getRunInfo(). | ||
HyperView setView | No comment in source; used in setView(). | ||
int sizeIndex | No comment in source; assigned in HyperMouse(); used in run(). | ||
long startTime | No comment in source; assigned in HyperMouse(), setView(), getRunInfo(). | ||
int totalCoordinates | No comment in source; assigned in HyperMouse(), run(). | ||
int trace | No comment in source; assigned in HyperMouse(). | ||
int waitTime | No comment in source; assigned in HyperMouse(), getRunInfo(). | ||
boolean working | No comment in source; assigned in HyperMouse(). |
| Signature | Description | Source |
|---|---|---|
HyperMouse(HyperView tView) | AKA An Excerpt from Somewhere in the JDK Source |
| Signature | Description | Source |
|---|---|---|
public synchronized void flush() | 1 statement(s). | |
public synchronized void forbid() | 2 statement(s). | |
public RunInfo getRunInfo() | 7 statement(s). | |
public synchronized void halt() | 4 statement(s); calls tTask.interrupt(). | |
public String kickStart() | 8 statement(s); calls tTask.interrupt(), tTask.getName(), mouseTask.start(); creates Thread. | |
public synchronized void permit() | 1 statement(s). | |
public synchronized void run() | 37 statement(s); calls Thread.currentThread(), ((MouseEvent)tMsg).getX(), ((MouseEvent)tMsg).getY(), curView.frame.getInsets(), tMsg.getID() …. | |
public void setView(HyperView tView) | 1 statement(s); calls notifyAll(). | |
public synchronized void start() | 9 statement(s); calls tTask.interrupt(), mouseTask.setName(), mouseTask.setPriority(), mouseTask.start(); creates Thread. | |
public synchronized void wake() | 1 statement(s); calls notify(). |
instantiation — HyperView.java, line 1237
1237 mouse = new HyperMouse(this);
constant — AWTEventManager.java, line 106
106 if (!(mouse.intBufferIndex < HyperMouse.MAX_MOUSE_MESSAGES))
107 {
declaration — HyperFrame.java, line 222
222 HyperMouse mouse = ((HyperView) orange).mouse;
Delivers mouse input to a ported applet’s panes: sets curView.mouseX/mouseY, calls onMouseOver(), and flags onClick() (GOB_CLICK_METHOD) and onRelease() (GOB_RELEASE_METHOD) for HyperView’s display loop. See the Applet Migration Guide.