Package org.sikuli.script.support
Class ScreenUnion
java.lang.Object
org.sikuli.script.Element
org.sikuli.script.Region
org.sikuli.script.Screen
org.sikuli.script.support.ScreenUnion
- All Implemented Interfaces:
IScreen
public class ScreenUnion extends Screen
CANDIDATE FOR DEPRECATION
INTERNAL USE
An extension of DesktopScreen, that uses all active monitors as one big screen
TO BE EVALUATED: is this really needed?
-
Field Summary
Fields inherited from class org.sikuli.script.Screen
curID, ignorePrimaryAtCapture, lastScreenImage, logName, monitor, oldID, primaryScreen, prompt, screens, waitPromptFields 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, 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
Constructors Constructor Description ScreenUnion() -
Method Summary
Modifier and Type Method Description ScreenImagecapture(Rectangle rect)create a ScreenImage with given rectangle on this screen.RectanglegetBounds()intgetIdFromPoint(int x, int y)INTERNAL USE: to be compatible with ScreenUnionRegiongetRegion()Methods inherited from class org.sikuli.script.Screen
all, as, capture, capture, capture, closePrompt, closePrompt, cmdCapture, doPrompt, getBounds, getDefaultInstance4py, getGlobalRobot, getID, getIDString, getLastScreenImageFromScreen, getMonitor, getNumberScreens, getPrimaryId, getPrimaryScreen, getRobot, getRobot, getRobot, getScreen, getScreen, hasPoint, hasPrompt, initScreens, isHeadless, make4py, newLocation, newLocation, newRegion, newRegion, newRegion, resetMonitors, resetMonitorsQuiet, resetPrompt, selectRegion, selectRegion, setAsScreen, setAsScreenUnion, setOther, setOther, setScreen, showMonitors, userCapture, userCaptureMethods 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, 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, isValid, isVirtual, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, leftAt, leftAt, 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, 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
-
Constructor Details
-
ScreenUnion
public ScreenUnion()
-
-
Method Details
-
getRegion
-
getIdFromPoint
public int getIdFromPoint(int x, int y)Description copied from class:ScreenINTERNAL USE: to be compatible with ScreenUnion- Specified by:
getIdFromPointin interfaceIScreen- Overrides:
getIdFromPointin classScreen- Parameters:
x- valuey- value- Returns:
- id of the screen
-
getBounds
-
capture
Description copied from class:Screencreate a ScreenImage with given rectangle on this screen.
-