Class EventRecorder
java.lang.Object
|
+----EventRecorder
- public final class EventRecorder
- extends Object
This class is used for wire dragging and "drag and drop" facilities
-
getEvent()
- Returns event previously recorded
-
getPoint()
- Returns point where mouse was clicked
-
recordEvent(MouseEvent, Point)
- Function records details of mouse event occured in system for further use
recordEvent
public static synchronized void recordEvent(MouseEvent e,
Point absoluteOrigin)
- Function records details of mouse event occured in system for further use
getEvent
public static synchronized MouseEvent getEvent()
- Returns event previously recorded
getPoint
public static synchronized Point getPoint()
- Returns point where mouse was clicked