Package org.jzy3d.junit.replay
Class EventReplay
java.lang.Object
org.jzy3d.junit.replay.Timestamped
org.jzy3d.junit.replay.EventReplay
-
Field Summary
Modifier and TypeFieldDescriptionprotected Component
protected Scenario
protected IMouseEventLog[]
protected Frame
protected int[]
protected boolean
protected boolean
protected Robot
Fields inherited from class org.jzy3d.junit.replay.Timestamped
t
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFocusListener
(Component component, Frame frame) protected void
addVerifyingListeners
(Component component) protected void
configureFocus
(Component component, Frame frame) protected void
protected boolean
detectDragEnd
(IMouseEventLog mouse) MOUSE_PRESSED, x:170, y:154, bt:0, since:925 MOUSE_DRAGGED, x:149, y:171, bt:0, since:1428 MOUSE_RELEASED, x:125, y:56, bt:0, since:3898 MOUSE_MOVED, x:107, y:55, bt:0, since:3899protected void
doKeyPress
(IKeyEventLog key) protected void
doKeyRelease
(IKeyEventLog key) protected boolean
full
(IMouseEventLog[] drag) getRobot()
protected boolean
isMouseMoveOrDrag
(IMouseEventLog mouse) protected void
protected void
protected int
moveX
(IMouseEventLog mouse, Insets insets) protected int
moveY
(IMouseEventLog mouse, Insets insets) protected void
mute()
void
void
replay
(IComponentEventLog component) void
void
replay
(IKeyEventLog key) void
replay
(IMouseEventLog mouse) void
replay
(IWindowEventLog window) void
protected void
stop()
protected void
unmute()
-
Field Details
-
component
-
frame
-
robot
-
currentScenario
-
mute
protected boolean mute -
mustStop
protected boolean mustStop -
keys
protected int[] keys -
drag
-
-
Constructor Details
-
EventReplay
-
-
Method Details
-
configureFocus
-
replay
- Throws:
Exception
-
replay
-
replay
-
replay
-
moveY
-
moveX
-
replay
-
doKeyPress
-
doKeyRelease
-
mute
protected void mute() -
unmute
protected void unmute() -
stop
protected void stop() -
replay
-
replay
-
log
-
log
-
getRobot
-
detectDragEnd
MOUSE_PRESSED, x:170, y:154, bt:0, since:925 MOUSE_DRAGGED, x:149, y:171, bt:0, since:1428 MOUSE_RELEASED, x:125, y:56, bt:0, since:3898 MOUSE_MOVED, x:107, y:55, bt:0, since:3899- Parameters:
mouse
-
-
full
-
debug
-
isMouseMoveOrDrag
-
addVerifyingListeners
-
addFocusListener
-