Package org.sikuli.vnc
Class VNCScreen
java.lang.Object
org.sikuli.script.Element
org.sikuli.script.Region
org.sikuli.vnc.VNCScreen
- All Implemented Interfaces:
IScreen
public class VNCScreen extends Region implements IScreen
-
Field Summary
Fields inherited from class org.sikuli.script.Region
BB, BH, BL, BM, BOTTOM, BR, C2, CH, CV, EAST, EAST_MID, EAST_NORTH, EAST_SOUTH, EH, EM, EN, ES, LB, LEFT, LH, LL, LM, logName, 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, RIGHT, RM, RR, RT, SE, SH, SM, SOUTH, SOUTH_EAST, SOUTH_MID, SOUTH_WEST, SW, TH, TL, TM, TOP, TR, TT, WEST, WEST_MID, WEST_NORTH, WEST_SOUTH, WH, WM, WN, WSFields inherited from class org.sikuli.script.Element
h, imageMissingHandler, lastFindTime, lastMatch, lastMatches, lastSearchTime, lastSearchTimeRepeat, logLevel, w, x, y -
Method Summary
Modifier and Type Method Description ScreenImagecapture()ScreenImagecapture(int x, int y, int w, int h)ScreenImagecapture(Rectangle rect)ScreenImagecapture(Region reg)RectanglegetBounds()com.sikulix.vnc.VNCClientgetClient()intgetID()intgetIdFromPoint(int srcx, int srcy)StringgetIDString()ScreenImagegetLastScreenImageFromScreen()protected <PSIMRL> LocationgetLocationFromTarget(PSIMRL target)IRobotgetRobot()booleanisRunning()LocationnewLocation(int x, int y)LocationnewLocation(Location loc)RegionnewRegion(int x, int y, int w, int h)RegionnewRegion(Location loc, int w, int h)RegionnewRegion(Region reg)Locationset(Location element)Regionset(Region element)LocationsetOther(Location element)RegionsetOther(Region element)static VNCScreenstart()static VNCScreenstart(String theIP)static VNCScreenstart(String theIP, int thePort)static VNCScreenstart(String theIP, int thePort, int cTimeout, int timeout)static VNCScreenstart(String theIP, int thePort, String password, int cTimeout, int timeout)static voidstartUp(int waittime)voidstop()static voidstopAll()ScreenImageuserCapture(String msg)Methods inherited from class org.sikuli.script.Region
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, contains, contains, containsMouse, copyTo, copyTo, create, create, create, create, create, create, create, delayClick, delayType, doubleClick, doubleClick, doubleClick, drag, dragDrop, dragDrop, dropAt, exists, exists, existsText, existsText, find, findAll, findAllByColumn, findAllByRow, findAllList, findAllText, findAny, findAnyList, findBest, findBestList, findText, get, getAll, getAutoWaitTimeout, getBottomLeft, getBottomRight, getCell, getCenter, getCol, getCol, getCols, getColW, getDefaultInstance4py, getEvent, getEvents, getFakeRegion, getFindFailedResponse, getImage, getInset, getLastScreenImage, getLastScreenImageFile, getLastScreenImageFile, getLastScreenImageFile, getObserver, getObserveScanRate, getRect, getRectangle, getRepeatWaitTime, getROI, getRow, getRow, getRowH, getRows, getScreen, getScreenContaining, getTarget, getThrowException, getTopLeft, getTopRight, getWaitScanRate, grow, grow, grow, grow, grow, grow, grow, has, has, hasEvents, hasObserver, hasText, highlight, highlight, highlight, highlight, highlight4py, highlightAllOff, highlightOff, highlightOn, highlightOn, hover, hover, initScreen, inside, internalUseOnlyHighlightReset, intersection, isObserving, isOtherScreen, isRasterValid, isValid, isVirtual, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, leftAt, leftAt, make4py, morphTo, mouseDown, mouseMove, mouseMove, mouseMove, mouseUp, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, observeInBackground, observeInLine, offset, offset, onAppear, onAppear, onChange, onChange, onChange, onChange, onChangeDo, onVanish, onVanish, paste, paste, regionOnScreen, relocate, relocate, resetFindFailedResponse, resetScreens, resetThrowException, right, right, rightAt, rightAt, rightClick, rightClick, rightClick, saveCapture, saveLastScreenImage, setActive, setAutoWaitTimeout, setBottomLeft, setBottomRight, setCenter, setCols, setFindFailedHandler, setFindFailedResponse, setH, 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, stopObserver, stopObserver, toGlobalCoord, toString, toStringShort, type, type, type, type, type, type, union, unionAll, unionAny, unionAnyList, virtual, wait, wait, wait, waitT, waitT, waitText, waitText, waitVanish, waitVanish, wheel, wheel, wheel, writeMethods inherited from class org.sikuli.script.Element
collectLines, collectLinesText, collectWords, collectWordsText, existsT, findAllT, findLine, findLines, findLines, findT, findWord, findWords, findWords, getBufferedImage, getH, getImageFromTarget, getLastMatch, getLastMatches, getName, getW, getX, getY, hasT, isEmpty, log, returnThis, setImageMissingHandler, setName, text, textChar, textLine, textLines, textWord, textWordsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.sikuli.script.support.IScreen
getH, getLastScreenImageFile, getRect, getW, getX, getY, isOtherScreen
-
Method Details
-
startUp
public static void startUp(int waittime) -
start
-
start
-
start
-
start
-
start
-
getIDString
- Specified by:
getIDStringin interfaceIScreen
-
stop
public void stop() -
stopAll
public static void stopAll() -
isRunning
public boolean isRunning() -
getRobot
-
getBounds
-
capture
-
capture
-
capture
-
capture
-
getID
public int getID() -
getIdFromPoint
public int getIdFromPoint(int srcx, int srcy)- Specified by:
getIdFromPointin interfaceIScreen
-
getLocationFromTarget
- Overrides:
getLocationFromTargetin classRegion- Throws:
FindFailed
-
getLastScreenImageFromScreen
- Specified by:
getLastScreenImageFromScreenin interfaceIScreen
-
userCapture
- Specified by:
userCapturein interfaceIScreen
-
getClient
public com.sikulix.vnc.VNCClient getClient() -
set
-
set
-
setOther
-
setOther
-
newLocation
- Specified by:
newLocationin interfaceIScreen
-
newLocation
- Specified by:
newLocationin interfaceIScreen
-
newRegion
-
newRegion
-
newRegion
-