|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sikuli.api.event.TargetEvent
public class TargetEvent
Event that a target has appeared, vanished, or moved in a specific screen region
| Constructor Summary | |
|---|---|
TargetEvent(Target target,
ScreenRegion screenRegion,
ScreenRegion targetRegion)
Constructs a new TargetEvent from the specified Target and ScreenRegion, and targetRegion. |
|
| Method Summary | |
|---|---|
ScreenRegion |
getScreenRegion()
Returns the ScreenRegion object that represents the initial screen region where the target is being watched. |
Target |
getTarget()
Returns the Target object of this TargetEvent. |
ScreenRegion |
getTargetRegion()
Returns the ScreenRegion object that represents the new screen region that is currently occupied by the target. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TargetEvent(Target target,
ScreenRegion screenRegion,
ScreenRegion targetRegion)
screenRegion - the initial screen region where the target is being watched.target - the target representing this event.targetRegion - the new screen region that is currently occupied by the target.| Method Detail |
|---|
public ScreenRegion getScreenRegion()
public Target getTarget()
public ScreenRegion getTargetRegion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||