org.sikuli.api
Interface Location

All Known Subinterfaces:
ScreenLocation
All Known Implementing Classes:
DefaultLocation, DefaultScreenLocation, DesktopScreenLocation

public interface Location

The Location interface provides definitions for the objects that represent a location on the screen coordinate.


Method Summary
 int getX()
          Returns the X location of the screen coordinate.
 int getY()
          the Y location of the screen coordinate.
 void setX(int x)
          Sets the X location of the screen coordinate.
 void setY(int y)
          Sets the Y location of the screen coordinate.
 

Method Detail

getX

int getX()
Returns the X location of the screen coordinate.

Returns:
the X location of the screen coordinate.

setX

void setX(int x)
Sets the X location of the screen coordinate.

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

getY

int getY()
the Y location of the screen coordinate.

Returns:
the Y location of the screen coordinate.

setY

void setY(int y)
Sets the Y location of the screen coordinate.

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


Copyright © 2014. All rights reserved.