Modifier and Type | Field and Description |
---|---|
protected java.awt.GraphicsDevice |
_curGD |
protected int |
_curID |
protected ScreenHighlighter |
_overlay |
protected static int |
_primaryScreen |
protected CapturePrompt |
_prompt |
protected boolean |
_waitPrompt |
_autoWaitTimeout, _defaultFindFailedResponse, _evtMgr, _lastMatch, _lastMatches, _lastScreenImage, _observing, _throwException, h, w, x, y
Modifier and Type | Method and Description |
---|---|
ScreenImage |
capture() |
ScreenImage |
capture(int x,
int y,
int w,
int h) |
ScreenImage |
capture(java.awt.Rectangle rect) |
ScreenImage |
capture(Region reg) |
java.awt.Rectangle |
getBounds() |
static java.awt.Rectangle |
getBounds(int id) |
java.awt.GraphicsDevice |
getGraphicsDevice() |
int |
getID() |
static int |
getNumberScreens() |
static int |
getPrimaryId() |
IRobot |
getRobot() |
static IRobot |
getRobot(int id) |
protected void |
initBounds() |
Region |
newRegion(java.awt.Rectangle rect) |
Region |
selectRegion() |
Region |
selectRegion(java.lang.String msg) |
void |
showClick(Location loc)
Show the click
|
void |
showDropTarget(Location loc) |
void |
showMove(Location loc) |
void |
showTarget(Location loc) |
void |
showTarget(Location loc,
double secs) |
java.lang.String |
toString() |
void |
update(Subject s) |
ScreenImage |
userCapture() |
ScreenImage |
userCapture(java.lang.String msg) |
above, above, below, below, click, click, create, create, create, create, doubleClick, doubleClick, drag, dragDrop, dragDrop, dropAt, dropAt, exists, exists, find, findAll, findAllNow, findNow, getAutoWaitTimeout, getBottomLeft, getBottomRight, getCenter, getEventManager, getFindFailedResponse, getH, getLastMatch, getLastMatches, getLocationFromPSRML, getRect, getRegionFromPSRM, getROI, getScreen, getThrowException, getTopLeft, getTopRight, getW, getX, getY, highlight, highlight, highlight, hover, init, inside, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, listText, morphTo, mouseDown, mouseMove, mouseUp, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, offset, onAppear, onChange, onChange, onVanish, paste, paste, right, right, rightClick, rightClick, setAutoWaitTimeout, setFindFailedResponse, setH, setRect, setRect, setRect, setROI, setROI, setROI, setThrowException, setW, setX, setY, stopObserver, text, toJythonRegion, type, type, type, type, updateSelf, wait, wait, wait, waitAll, waitVanish, waitVanish, wheel, wheel
protected java.awt.GraphicsDevice _curGD
protected int _curID
protected static int _primaryScreen
protected boolean _waitPrompt
protected CapturePrompt _prompt
protected ScreenHighlighter _overlay
public Region newRegion(java.awt.Rectangle rect)
public static int getNumberScreens()
public static IRobot getRobot(int id)
public static int getPrimaryId()
public java.awt.GraphicsDevice getGraphicsDevice()
public static java.awt.Rectangle getBounds(int id)
public int getID()
protected void initBounds()
public ScreenImage capture()
public ScreenImage capture(int x, int y, int w, int h)
public ScreenImage capture(java.awt.Rectangle rect)
public ScreenImage capture(Region reg)
public ScreenImage userCapture()
public ScreenImage userCapture(java.lang.String msg)
public Region selectRegion()
public Region selectRegion(java.lang.String msg)
public void showClick(Location loc)
public void showTarget(Location loc)
showTarget
in interface IScreen
public void showTarget(Location loc, double secs)
public void showDropTarget(Location loc)
showDropTarget
in interface IScreen