Class EventReplay

    • Field Detail

      • frame

        protected Frame frame
      • robot

        protected Robot robot
      • currentScenario

        protected Scenario currentScenario
      • mute

        protected boolean mute
      • mustStop

        protected boolean mustStop
      • keys

        protected int[] keys
    • Constructor Detail

      • EventReplay

        public EventReplay​(Component component,
                           Frame frame)
    • Method Detail

      • configureFocus

        protected void configureFocus​(Component component,
                                      Frame frame)
      • replay

        public void replay​(Scenario scenario)
      • replay

        public void replay​(IEventLog event)
      • doKeyPress

        protected void doKeyPress​(IKeyEventLog key)
      • doKeyRelease

        protected void doKeyRelease​(IKeyEventLog key)
      • mute

        protected void mute()
      • unmute

        protected void unmute()
      • stop

        protected void stop()
      • log

        protected void log​(IEventLog event)
      • getRobot

        public Robot getRobot()
      • detectDragEnd

        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:3899
        Parameters:
        mouse -
      • debug

        protected void debug​(IEventLog event)
      • isMouseMoveOrDrag

        protected boolean isMouseMoveOrDrag​(IMouseEventLog mouse)
      • addVerifyingListeners

        protected void addVerifyingListeners​(Component component)
      • addFocusListener

        protected void addFocusListener​(Component component,
                                        Frame frame)