|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sikuli.api.DefaultTarget
public abstract class DefaultTarget
DefaultTarget is the abstract base class for all targets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.sikuli.api.Target |
|---|
Target.Ordering |
| Constructor Summary | |
|---|---|
DefaultTarget()
Constructs a Target with default parameters |
|
| Method Summary | |
|---|---|
List<ScreenRegion> |
doFindAll(ScreenRegion screenRegion)
Sorts all found instances of a screenRegion objects according to the Ordering value of this Target. |
int |
getLimit()
Returns the limit on the number of matched targets to return. |
double |
getMinScore()
Returns the minimum matching score of this DefaultTarget. |
Target.Ordering |
getOrdering()
Returns the Ordering of matched targets this DefaultTarget uses. |
void |
setLimit(int limit)
Sets the limit on the number of matched targets to return. |
void |
setMinScore(double minScore)
Sets the minimum matching score. |
void |
setOrdering(Target.Ordering ordering)
Sets the ordering of the matched targets. |
BufferedImage |
toImage()
Gets the image representation of this target for visualization purposes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTarget()
| Method Detail |
|---|
public double getMinScore()
getMinScore in interface Targetpublic void setMinScore(double minScore)
setMinScore in interface TargetminScore - public int getLimit()
getLimit in interface Targetpublic void setLimit(int limit)
setLimit in interface Targetlimit - the number of matchespublic Target.Ordering getOrdering()
getOrdering in interface Targetpublic void setOrdering(Target.Ordering ordering)
setOrdering in interface Targetordering - the Ordering of the matched targets for this Target.public List<ScreenRegion> doFindAll(ScreenRegion screenRegion)
Target
doFindAll in interface TargetscreenRegion - the ScreenRegion to be sorted with other unsorted regions.
public BufferedImage toImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||