|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sikuli.api.Relative.RelativeScreenLocationBuilder
public static class Relative.RelativeScreenLocationBuilder
A RelativeScreenLocationBuilder represents a copy of the original ScreenLocation.
| Constructor Summary | |
|---|---|
Relative.RelativeScreenLocationBuilder(ScreenLocation screenLocation)
Constructs a new RelativeScreenLocationBuilder that is a copy of the specified ScreenLocation. |
|
| Method Summary | |
|---|---|
Relative.RelativeScreenLocationBuilder |
above(int amount)
Returns a new RelativeScreenLocationBuilder object that is above this ScreenLocation by the specified amount. |
Relative.RelativeScreenLocationBuilder |
below(int amount)
Returns a new RelativeScreenLocationBuilder object that is below this ScreenLocation by the specified amount. |
ScreenLocation |
getScreenLocation()
Returns the ScreenLocation of this RelativeScreenLocationBuilder. |
Relative.RelativeScreenLocationBuilder |
left(int amount)
Returns a new RelativeScreenLocationBuilder object relative to the left of this ScreenLocation by the specified amount. |
Relative.RelativeScreenLocationBuilder |
right(int amount)
Returns a new RelativeScreenLocationBuilder object relative to the right of this ScreenLocation by the specified amount. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Relative.RelativeScreenLocationBuilder(ScreenLocation screenLocation)
screenLocation - the ScreenLocation to which a relative screen location is created.| Method Detail |
|---|
public ScreenLocation getScreenLocation()
public Relative.RelativeScreenLocationBuilder above(int amount)
amount - the pixel amount to move above.
public Relative.RelativeScreenLocationBuilder below(int amount)
amount - the pixel amount to move below.
public Relative.RelativeScreenLocationBuilder left(int amount)
amount - the pixel amount to move to the left.
public Relative.RelativeScreenLocationBuilder right(int amount)
amount - the pixel amount to move to the right.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||