org.sikuli.api
Class DesktopScreenLocation

java.lang.Object
  extended by org.sikuli.api.DefaultScreenLocation
      extended by org.sikuli.api.DesktopScreenLocation
All Implemented Interfaces:
Location, ScreenLocation

public class DesktopScreenLocation
extends DefaultScreenLocation

This DesktopScreenLocation class represents a screen location and its corresponding screen.


Constructor Summary
DesktopScreenLocation(int x, int y)
          Constructs a new screen location based on the coordinates.
 
Method Summary
 
Methods inherited from class org.sikuli.api.DefaultScreenLocation
getRelativeScreenLocation, getScreen, getX, getY, setScreen, setX, setY, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DesktopScreenLocation

public DesktopScreenLocation(int x,
                             int y)
Constructs a new screen location based on the coordinates. The screen relating to those coordinates will be determined automatically and defaults to screen 0 in case those coordinates are outside of all screens.

Parameters:
x - the X coordinate of the screen location.
y - the Y coordinate of the screen location.


Copyright © 2014. All rights reserved.