Package org.netbeans.jemmy.operators
Interface JTextComponentOperator.TextChooser
-
- All Known Implementing Classes:
AbstractTextStyleChooser,TextStyleChooser
- Enclosing class:
- JTextComponentOperator
public static interface JTextComponentOperator.TextChooserInterface defining additional text cearch criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckPosition(javax.swing.text.Document document, int offset)Checkes if position fits the criteria.java.lang.StringgetDescription()Returns a printable description of the criteria.
-
-
-
Method Detail
-
checkPosition
boolean checkPosition(javax.swing.text.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
java.lang.String getDescription()
Returns a printable description of the criteria.- Returns:
- a description of this chooser.
-
-