Package org.sikuli.android
Class ADBScreen
java.lang.Object
org.sikuli.script.Element
org.sikuli.script.Region
org.sikuli.android.ADBScreen
- All Implemented Interfaces:
IScreen,EventObserver
public class ADBScreen extends Region implements EventObserver, IScreen
Created by Törcsi on 2016. 06. 26.
Revised by RaiMan
-
Field Summary
Fields Modifier and Type Field Description booleanneedsUnLockprotected OverlayCapturePromptpromptprotected IRobotrobotintwaitAfterActionFields 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 -
Constructor Summary
-
Method Summary
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, getLocationFromTarget, getObserver, getObserveScanRate, getRect, getRectangle, getRepeatWaitTime, getROI, getRow, getRow, getRowH, getRows, 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, 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, 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
-
Field Details
-
robot
-
prompt
-
needsUnLock
public boolean needsUnLock -
waitAfterAction
public int waitAfterAction
-
-
Constructor Details
-
Method Details
-
start
-
start
-
stop
public static void stop() -
isValid
public boolean isValid()Description copied from class:RegionCheck wether thie Region is contained by any of the available screens -
getDevice
-
toString
Description copied from class:Region -
getDeviceDescription
-
wakeUp
public void wakeUp(int seconds) -
exec
-
getScreen
-
update
- Specified by:
updatein interfaceEventObserver
-
getRobot
-
getBounds
-
capture
-
capture
-
capture
-
capture
-
getID
public int getID() -
getIDString
- Specified by:
getIDStringin interfaceIScreen
-
getLastScreenImageFromScreen
- Specified by:
getLastScreenImageFromScreenin interfaceIScreen
-
userCapture
- Specified by:
userCapturein interfaceIScreen
-
getIdFromPoint
public int getIdFromPoint(int srcx, int srcy)- Specified by:
getIdFromPointin interfaceIScreen
-
set
-
set
-
setOther
-
setOther
-
newRegion
-
newRegion
-
newRegion
-
newLocation
- Specified by:
newLocationin interfaceIScreen
-
newLocation
- Specified by:
newLocationin interfaceIScreen
-