public class ScreenRemote extends Screen implements IScreen
monitor, oldID, primaryScreen, prompt, robot, screens, waitPromptBB, 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| Constructor and Description |
|---|
ScreenRemote(String adr,
String p) |
| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
capture()
create a ScreenImage with the physical bounds of this screen
|
ScreenImage |
capture(int x,
int y,
int w,
int h)
create a ScreenImage with given coordinates on this screen.
|
ScreenImage |
capture(Rectangle r)
create a ScreenImage with given rectangle on this screen.
|
ScreenImage |
capture(Region r)
create a ScreenImage with given region on this screen
|
boolean |
close() |
boolean |
close(boolean stopServer) |
Rectangle |
getBounds() |
ObjectInputStream |
getIn() |
OutputStreamWriter |
getOut() |
IRobot |
getRobot()
Gets the Robot of this Screen.
|
boolean |
isValid()
Check wether thie Region is contained by any of the available screens
|
Location |
mousePointer() |
Location |
newLocation(int x,
int y) |
Location |
newLocation(Location loc)
creates a location on the current screen with the given point.
|
Region |
newRegion(int x,
int y,
int w,
int h) |
Region |
newRegion(Location loc,
int w,
int h)
creates a region on the current screen with the given coordinate/size.
|
Region |
newRegion(Rectangle r) |
Region |
newRegion(Region r) |
String |
toString() |
String |
toStringShort()
only a short version of toString()
|
all, as, captureforHighlight, closePrompt, getBounds, getcurrentID, getFakeRegion, getID, getIdFromPoint, getLastScreenImageFromScreen, getMouseRobot, getNumberScreens, getPrimaryId, getPrimaryScreen, getRobot, getScreen, getScreen, initScreen, resetMonitors, saveCapture, saveCapture, selectRegion, selectRegion, setAsScreen, setAsScreenUnion, setScreen, showMonitors, showTarget, showTarget, startPrompt, toJSON, update, useFullscreen, userCapture, userCaptureabove, above, aboveAt, aboveAt, add, add, add, asOffset, 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, getLastMatch, getLastMatches, getLastScreenImage, getLastScreenImageFile, getLastScreenImageFile, getLastScreenImageFile, getLastTime, getObserver, getObserveScanRate, getRect, getRectangle, getRepeatWaitTime, getROI, getRow, getRow, getRowH, getRows, 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, init, initScreen, inside, intersection, isObserving, isOtherScreen, isRasterValid, isVirtual, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, leftAt, leftAt, listText, morphTo, mouseDown, mouseMove, mouseMove, mouseMove, mouseUp, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, observeJ, 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, setFindFailedResponse, setH, setInactive, setLocation, setObserveScanRate, setOtherScreen, setRaster, setRect, setRect, setRect, setRepeatWaitTime, setROI, setROI, setROI, setROI, setRows, setScreen, setSize, setThrowException, setTopLeft, setTopRight, setVirtual, setW, setWaitScanRate, setX, setY, showScreens, silentHighlight, stopObserver, stopObserver, text, toGlobalCoord, 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, getID, getIdFromPoint, getLastScreenImageFile, getLastScreenImageFromScreen, getRect, getW, getX, getY, isOtherScreen, showTarget, userCapturepublic String toStringShort()
ScreentoStringShort in interface IScreentoStringShort in class Screenpublic boolean isValid()
Regionpublic ObjectInputStream getIn()
public OutputStreamWriter getOut()
public boolean close(boolean stopServer)
public boolean close()
public IRobot getRobot()
Screenpublic Rectangle getBounds()
public ScreenImage capture()
Screenpublic ScreenImage capture(int x, int y, int w, int h)
Screenpublic ScreenImage capture(Rectangle r)
Screenpublic ScreenImage capture(Region r)
Screenpublic Location newLocation(Location loc)
ScreennewLocation in class Screenloc - Locationpublic Location newLocation(int x, int y)
public Region newRegion(Location loc, int w, int h)
Screenpublic Region newRegion(int x, int y, int w, int h)
public Location mousePointer()