|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sikuli.api.DefaultLocation
public class DefaultLocation
The DefaultLocation class is used to describe a location on the screen coordinate.
| Constructor Summary | |
|---|---|
DefaultLocation(int x,
int y)
Constructs a default location at the given screen coordinates. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLocation(int x,
int y)
x - the X location of the screen coordinate.y - the Y location of the screen coordinate.| Method Detail |
|---|
public int getX()
Location
getX in interface Locationpublic void setX(int x)
Location
setX in interface Locationx - the X location of the screen coordinate.public int getY()
Location
getY in interface Locationpublic void setY(int y)
Location
setY in interface Locationy - the Y location of the screen coordinate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||