Package | Description |
---|---|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentFilter.insertString(DocumentFilter.FilterBypass fb,
int offset,
String string,
AttributeSet attr)
Invoked prior to insertion of text into the
specified Document.
|
void |
DocumentFilter.remove(DocumentFilter.FilterBypass fb,
int offset,
int length)
Invoked prior to removal of the specified region in the
specified Document.
|
void |
DocumentFilter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Invoked prior to replacing a region of text in the
specified Document.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.