Package org.jzy3d.junit.replay
Class EventReplay
java.lang.Object
org.jzy3d.junit.replay.Timestamped
org.jzy3d.junit.replay.EventReplay
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Componentprotected Scenarioprotected IMouseEventLog[]protected Frameprotected int[]protected booleanprotected booleanprotected RobotFields inherited from class org.jzy3d.junit.replay.Timestamped
t -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFocusListener(Component component, Frame frame) protected voidaddVerifyingListeners(Component component) protected voidconfigureFocus(Component component, Frame frame) protected voidprotected booleandetectDragEnd(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 voiddoKeyPress(IKeyEventLog key) protected voiddoKeyRelease(IKeyEventLog key) protected booleanfull(IMouseEventLog[] drag) getRobot()protected booleanisMouseMoveOrDrag(IMouseEventLog mouse) protected voidprotected voidprotected intmoveX(IMouseEventLog mouse, Insets insets) protected intmoveY(IMouseEventLog mouse, Insets insets) protected voidmute()voidvoidreplay(IComponentEventLog component) voidvoidreplay(IKeyEventLog key) voidreplay(IMouseEventLog mouse) voidreplay(IWindowEventLog window) voidprotected voidstop()protected voidunmute()
-
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
-