AbstractTextStyleChooser, TextStyleChooserpublic static interface JTextComponentOperator.TextChooser
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
boolean checkPosition(javax.swing.text.Document document,
int offset)
document - a document to be checked.offset - a checked positionjava.lang.String getDescription()