Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.jemmy.operators
Interface JTextComponentOperator.TextChooser

All Known Implementing Classes:
  AbstractTextStyleChooser

Enclosing class:
  JTextComponentOperator

public static interface JTextComponentOperator.TextChooser

Interface defining additional text cearch criteria.

See Also:
  `JTextComponentOperator.getPositionByText(java.lang.String, JTextComponentOperator.TextChooser)`

Method Summary
`boolean` | `checkPosition(javax.swing.text.Document document, int offset)` Checkes if position fits the criteria.
`java.lang.String` | `getDescription()` Returns a printable description of the criteria.

Method Detail

### checkPosition

    public 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

    public java.lang.String getDescription()

  Returns a printable description of the criteria.
  Returns:
    a description of this chooser.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD