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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPosition
(Document document, int offset) Checkes if position fits the criteria.Returns a printable description of the criteria.
-
Method Details
-
checkPosition
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.
-