본문 바로가기
Language_/java

[java] 매크로 만들기 #1

by 낭람_ 2018. 8. 12.
반응형


[Modifier and Type] Method and Description

[BufferedImage] createScreenCapture(Rectangle screenRect) : Creates an image containing pixels read from the screen

[void] delay(int ms) : Sleeps for the specified time

[int] getAutoDelay() : Returns the number of milliseconds this Robot sleeps after generating an event

[Color] getPixelColor(int x, int y) : Returns the color of a pixel at the given screen coordinates

[boolean] isAutoWaitForIdle() : Returns whether this Robot automatically invokes waitForIdle after generating an event

[void] keyPress(int keycode) : Presses a given key 

[void] keyRelease(int keycode) : Releases a given key

[void] mouseMove(int x, int y) : Moves mouse pointer to given screen coordinates

[void] mousePress(int buttons) : Presses one or more mouse buttons

[void] mouseRelease(int buttons) : Releases one or more mouse buttons

[void] mouseWheel(int wheelAmt) : Rotates the scroll wheel on wheel-equipped mice

[void] setAutoDelay(int ms) : Sets the number of milliseconds this Robot sleeps after generating an event

[void] setAutoWaitForIdle(bloolean isOn) : Sets whether this Robot automatically invokes waitForIdle after generating an event

[String] toString() : Returns a string representation of this Robot

[void] waitForIdle() : Waits until all events currently on the event queue have been processed


반응형

'Language_ > java' 카테고리의 다른 글

[Java] 이클립스 설정 초기화  (1) 2019.09.22
[java] JNetPcap 설치하기 #설정까지  (0) 2019.05.28
[java] Scanner를 이용하여 char 입력하기  (3) 2019.03.24
[java] Eclipse 사용법  (0) 2018.08.08
[java] 자바란?  (0) 2018.08.08

댓글