Package org.netbeans.jemmy.operators
Interface JTextComponentOperator.TextChooser
-
- All Known Implementing Classes:
AbstractTextStyleChooser
,TextStyleChooser
- Enclosing class:
- JTextComponentOperator
public static interface JTextComponentOperator.TextChooser
Interface defining additional text cearch criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkPosition(Document document, int offset)
Checkes if position fits the criteria.String
getDescription()
Returns a printable description of the criteria.
-
-
-
Method Detail
-
checkPosition
boolean checkPosition(Document document, int offset)
Checkes if position fits the criteria.- Parameters:
document
- a document to be checked.offset
- a checked position- Returns:
- true if the position fits the criteria.
-
getDescription
String getDescription()
Returns a printable description of the criteria.- Returns:
- a description of this chooser.
-
-