BB, BH, BL, BM, BR, C2, CH, CREATE_X_DIRECTION_LEFT, CREATE_X_DIRECTION_RIGHT, CREATE_Y_DIRECTION_BOTTOM, CREATE_Y_DIRECTION_TOP, CV, EAST, EAST_MID, EAST_NORTH, EAST_SOUTH, EH, EM, EN, ES, h, LB, LH, LL, LM, LT, M2, M3, MH, MID_HORIZONTAL, MID_VERTICAL, MIDDLE, MIDDLE_BIG, MM, MV, NE, NH, NM, NORTH, NORTH_EAST, NORTH_MID, NORTH_WEST, NW, otherScreen, RB, RH, RM, RR, RT, SE, SH, SM, SOUTH, SOUTH_EAST, SOUTH_MID, SOUTH_WEST, SW, TH, TL, TM, TR, TT, w, WEST, WEST_MID, WEST_NORTH, WEST_SOUTH, WH, WM, WN, WS, x, y| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
capture() |
ScreenImage |
capture(int x,
int y,
int w,
int h) |
ScreenImage |
capture(Rectangle rect) |
ScreenImage |
capture(Region reg) |
void |
close() |
Rectangle |
getBounds() |
org.sikuli.vnc.VNCClient |
getClient() |
int |
getID() |
int |
getIdFromPoint(int srcx,
int srcy) |
ScreenImage |
getLastScreenImageFromScreen() |
protected <PSIMRL> Location |
getLocationFromTarget(PSIMRL target) |
IRobot |
getRobot() |
void |
showTarget(Location loc) |
protected void |
showTarget(Location loc,
double secs) |
static VNCScreen |
start(String theIP,
int thePort,
int cTimeout,
int timeout) |
static VNCScreen |
start(String theIP,
int thePort,
String password,
int cTimeout,
int timeout) |
void |
stop() |
static void |
stopAll() |
ScreenImage |
userCapture(String msg) |
above, above, aboveAt, aboveAt, add, add, add, aInput, aKey, asOffset, aSwipe, aSwipeDown, aSwipeLeft, aSwipeRight, aSwipeUp, aTap, atMouse, below, below, belowAt, belowAt, checkMatch, click, click, click, compare, compare, contains, contains, containsMouse, copyTo, copyTo, create, create, create, create, create, create, delayClick, delayType, doubleClick, doubleClick, doubleClick, drag, dragDrop, dragDrop, dropAt, exists, exists, find, findAll, findAllByColumn, findAllByRow, findAllText, findBest, findText, findText, get, getAutoWaitTimeout, getBottomLeft, getBottomRight, getCell, getCenter, getCol, getCol, getCols, getColW, getEvent, getEvents, getFindFailedResponse, getH, getIDString, getLastMatch, getLastMatches, getLastScreenImage, getLastScreenImageFile, getLastScreenImageFile, getLastScreenImageFile, getObserver, getObserveScanRate, getRect, getRectangle, getRepeatWaitTime, getROI, getRow, getRow, getRowH, getRows, getScreen, getScreenContaining, getTarget, getThrowException, getTopLeft, getTopRight, getW, getWaitScanRate, getX, getY, grow, grow, grow, grow, grow, grow, grow, hasEvents, hasObserver, highlight, highlight, highlight, highlight, highlight, highlight, hover, hover, initScreen, inside, intersection, isObserving, isOtherScreen, isRasterValid, isValid, isVirtual, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, leftAt, leftAt, listText, morphTo, mouseDown, mouseMove, mouseMove, mouseMove, mouseUp, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, observeInLine, offset, offset, onAppear, onAppear, onChange, onChange, onChange, onChange, onChangeDo, onVanish, onVanish, paste, paste, regionOnScreen, resetScreens, right, right, rightAt, rightAt, rightClick, rightClick, rightClick, saveLastScreenImage, saveScreenCapture, saveScreenCapture, saveScreenCapture, setActive, setAutoWaitTimeout, setBottomLeft, setBottomRight, setCenter, setCols, setFindFailedHandler, setFindFailedResponse, setH, setImageMissingHandler, setInactive, setLocation, setObserveScanRate, setOtherScreen, setOtherScreen, setRaster, setRect, setRect, setRect, setRepeatWaitTime, setROI, setROI, setROI, setROI, setRows, setScreen, setScreen, setSize, setThrowException, setTopLeft, setTopRight, setVirtual, setW, setWaitScanRate, setX, setY, showScreens, silentHighlight, stopObserver, stopObserver, text, toGlobalCoord, toString, toStringShort, type, type, type, type, type, type, union, updateSelf, virtual, wait, wait, wait, waitVanish, waitVanish, wheel, wheel, wheel, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetH, getIDString, getLastScreenImageFile, getRect, getW, getX, getY, isOtherScreen, toStringShortpublic static VNCScreen start(String theIP, int thePort, String password, int cTimeout, int timeout) throws IOException
IOExceptionpublic static VNCScreen start(String theIP, int thePort, int cTimeout, int timeout) throws IOException
IOExceptionpublic void stop()
public static void stopAll()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic ScreenImage capture()
public ScreenImage capture(Region reg)
public ScreenImage capture(Rectangle rect)
public ScreenImage capture(int x, int y, int w, int h)
public void showTarget(Location loc)
showTarget in interface IScreenprotected void showTarget(Location loc, double secs)
public int getIdFromPoint(int srcx,
int srcy)
getIdFromPoint in interface IScreenprotected <PSIMRL> Location getLocationFromTarget(PSIMRL target) throws FindFailed
getLocationFromTarget in class RegionFindFailedpublic ScreenImage getLastScreenImageFromScreen()
getLastScreenImageFromScreen in interface IScreenpublic ScreenImage userCapture(String msg)
userCapture in interface IScreenpublic org.sikuli.vnc.VNCClient getClient()
Copyright © 2017. All rights reserved.