Package net.suncrescent.clicker.robot.RobotInteractionProvider

Examples of net.suncrescent.clicker.robot.RobotInteractionProvider.RobotStatus


      this.robot.setAutoDelay(0);
    }
  }

  private boolean hasWorkingStatus() {
    final RobotStatus status = this.interactionProvider.getStatusProvider().getStatus();
    return status == RobotStatus.PAUSED || status == RobotStatus.RUNNING;
  }
View Full Code Here


      ControlFrame.this.robot.setRepeatCount(ControlFrame.this.quantityField.getSelection());
      ControlFrame.this.robot.getControlProvider().start();
    }

    protected void updateButtonState() {
      final RobotStatus status = ControlFrame.this.robot.getStatusProvider().getStatus();
      ControlFrame.this.startButton.setEnabled(status == RobotStatus.IDLE);
    }
View Full Code Here

  class PauseAction implements SelectionListener {

    @Override
    public void widgetSelected(final SelectionEvent paramSelectionEvent) {
      final RobotStatus status = ControlFrame.this.robot.getStatusProvider().getStatus();
      if (status == RobotStatus.PAUSED) {
        ControlFrame.this.robot.getControlProvider().resume();
      } else {
        ControlFrame.this.robot.getControlProvider().pause();
      }
View Full Code Here

        ControlFrame.this.robot.getControlProvider().pause();
      }
    }

    protected void updateButtonState() {
      final RobotStatus status = ControlFrame.this.robot.getStatusProvider().getStatus();
      ControlFrame.this.pauseButton.setEnabled(status == RobotStatus.RUNNING || status == RobotStatus.PAUSED);
    }
View Full Code Here

    public void widgetSelected(final SelectionEvent paramSelectionEvent) {
      ControlFrame.this.robot.getControlProvider().stop();
    }

    protected void updateButtonState() {
      final RobotStatus status = ControlFrame.this.robot.getStatusProvider().getStatus();
      ControlFrame.this.stopButton.setEnabled(status == RobotStatus.RUNNING || status == RobotStatus.PAUSED);
    }
View Full Code Here

TOP

Related Classes of net.suncrescent.clicker.robot.RobotInteractionProvider.RobotStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.