|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScreenRegion | |
|---|---|
| org.sikuli.api | Provides the classes necessary to find targets and the classes to create screen regions and locations. |
| org.sikuli.api.event | Contains the classes for creating visual based events fired when the visual appearance of targets changes. |
| org.sikuli.api.robot | Interfaces and utilities for mouse and keyboard implementations. |
| org.sikuli.api.robot.desktop | Provides the classes necessary to simulate desktop user interactions (mouse and keyboard actions). |
| org.sikuli.api.visual | Provides the classes to annotate the screen and display canvases (frames) on a screen region. |
| Uses of ScreenRegion in org.sikuli.api |
|---|
| Classes in org.sikuli.api that implement ScreenRegion | |
|---|---|
class |
AbstractScreenRegion
AbstractScreenRegion is the abstract base class for all screen region contexts. |
class |
DefaultScreenRegion
This class provides manipulation methods that can be used by the default screen region. |
class |
DesktopScreenRegion
A DesktopScreenRegion object is used to describe a region of any DesktopScreen. |
class |
StaticImageScreenRegion
StaticImageScreenRegion class behaves like a ScreenRegion but it always provides a given image as the screenshot. |
| Methods in org.sikuli.api that return ScreenRegion | |
|---|---|
ScreenRegion |
ScreenRegion.find(Target target)
Finds a target on the screen immediately. |
ScreenRegion |
DefaultScreenRegion.find(Target target)
|
ScreenRegion |
ScreenRegion.getRelativeScreenRegion(int xoffset,
int yoffset,
int width,
int height)
Returns a ScreenRegion relative to the specified region values. |
ScreenRegion |
AbstractScreenRegion.getRelativeScreenRegion(int xoffset,
int yoffset,
int width,
int height)
|
ScreenRegion |
Relative.RelativeScreenRegionBuilder.getScreenRegion()
Returns the ScreenRegion of this RelativeScreenRegionBuilder. |
ScreenRegion |
ScreenRegion.snapshot()
Returns a ScreenRegion object that corresponds to the screen and region of this ScreenRegion. |
ScreenRegion |
DefaultScreenRegion.snapshot()
|
ScreenRegion |
ScreenRegion.wait(Target target,
int mills)
Blocks and waits until a target is found in this screen region within a given time period. |
ScreenRegion |
DefaultScreenRegion.wait(Target target,
int mills)
|
| Methods in org.sikuli.api that return types with arguments of type ScreenRegion | |
|---|---|
List<ScreenRegion> |
Target.doFindAll(ScreenRegion screenRegion)
Sorts all found instances of a screenRegion objects according to the Ordering value of this Target. |
List<ScreenRegion> |
DefaultTarget.doFindAll(ScreenRegion screenRegion)
|
List<ScreenRegion> |
ScreenRegion.findAll(Target target)
Finds all the instances of the target on the screen immediately. |
List<ScreenRegion> |
DefaultScreenRegion.findAll(Target target)
|
| Methods in org.sikuli.api with parameters of type ScreenRegion | |
|---|---|
List<ScreenRegion> |
Target.doFindAll(ScreenRegion screenRegion)
Sorts all found instances of a screenRegion objects according to the Ordering value of this Target. |
List<ScreenRegion> |
DefaultTarget.doFindAll(ScreenRegion screenRegion)
|
static Relative.RelativeScreenRegionBuilder |
Relative.to(ScreenRegion screenRegion)
Returns a new RelativeScreenRegionBuilder object using the specified ScreenRegion object. |
| Constructors in org.sikuli.api with parameters of type ScreenRegion | |
|---|---|
DefaultScreenRegion(ScreenRegion parent,
int x,
int y,
int width,
int height)
Constructs a new DefaultScreenRegion object whose Screen is the same as the parent ScreenRegion with the specified region values. |
|
Relative.RelativeScreenRegionBuilder(ScreenRegion screenRegion)
Constructs a new RelativeScreenRegionBuilder that is a copy of the specified ScreenRegion. |
|
| Uses of ScreenRegion in org.sikuli.api.event |
|---|
| Methods in org.sikuli.api.event that return ScreenRegion | |
|---|---|
ScreenRegion |
TargetEvent.getScreenRegion()
Returns the ScreenRegion object that represents the initial screen region where the target is being watched. |
ScreenRegion |
StateChangeEvent.getScreenRegion()
|
ScreenRegion |
TargetEvent.getTargetRegion()
Returns the ScreenRegion object that represents the new screen region that is currently occupied by the target. |
| Methods in org.sikuli.api.event with parameters of type ScreenRegion | |
|---|---|
void |
VisualEventManager.addStateChangeEventListener(ScreenRegion screenRegion,
StateChangeListener listener)
|
void |
VisualEventManager.addTargetEventListener(ScreenRegion screenRegion,
Target target,
TargetEventListener listener)
|
void |
VisualEventManager.removeTargetEventListener(ScreenRegion screenRegion,
Target target,
TargetEventListener listener)
|
| Constructors in org.sikuli.api.event with parameters of type ScreenRegion | |
|---|---|
StateChangeEvent(ScreenRegion screenRegion,
Object oldState,
Object newState)
|
|
TargetEvent(Target target,
ScreenRegion screenRegion,
ScreenRegion targetRegion)
Constructs a new TargetEvent from the specified Target and ScreenRegion, and targetRegion. |
|
| Uses of ScreenRegion in org.sikuli.api.robot |
|---|
| Methods in org.sikuli.api.robot with parameters of type ScreenRegion | |
|---|---|
void |
Keyboard.copyRegion(ScreenRegion screenRegion)
Copies the content of a screen region into the clipboard. |
| Uses of ScreenRegion in org.sikuli.api.robot.desktop |
|---|
| Methods in org.sikuli.api.robot.desktop with parameters of type ScreenRegion | |
|---|---|
void |
DesktopKeyboard.copyRegion(ScreenRegion screenRegion)
|
| Uses of ScreenRegion in org.sikuli.api.visual |
|---|
| Methods in org.sikuli.api.visual that return ScreenRegion | |
|---|---|
ScreenRegion |
ScreenRegionCanvas.getScreenRegion()
Returns the ScreenRegion of this ScreenRegionCanvas object. |
| Methods in org.sikuli.api.visual with parameters of type ScreenRegion | |
|---|---|
void |
ScreenRegionCanvas.setScreenRegion(ScreenRegion screenRegion)
Sets the ScreenRegion of this ScreenRegionCanvas object. |
| Constructors in org.sikuli.api.visual with parameters of type ScreenRegion | |
|---|---|
ScreenRegionCanvas(ScreenRegion screenRegion)
Constructs a new DesktopCanvas whose screen region is specified with the argument of the same name. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||