API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. DocumentFilter View Source
Author(s)
Since
1.4
Version
1.8 04/07/06
Serial
Hierarchy
 Object
      DocumentFilter
Implements
Subclasses
Description
public class DocumentFilter
  DocumentFilter, as the name implies, is a filter for the Document mutation methods.
See also:    Document
Constructors
public DocumentFilter ()
Methods
Hide/Show inherited methods
public void insertString (FilterBypass fb, int offset, String string, AttributeSet attr) throws BadLocationException
  Invoked prior to insertion of text into the specified Document.
public void remove (FilterBypass fb, int offset, int length) throws BadLocationException
  Invoked prior to removal of the specified region in the specified Document.
public void replace (FilterBypass fb, int offset, int length, String text, AttributeSet attrs) throws BadLocationException
  Invoked prior to replacing a region of text in the specified Document.
Fields
Hide/Show inherited fields
Nested Classes
  DocumentFilter.FilterBypass
Used as a way to circumvent calling back into the Document to change it.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar