Home » openjdk-7 » javax » swing » text » [javadoc | source]
abstract public static class: DocumentFilter.FilterBypass [javadoc | source]

Direct Known Subclasses:

Used as a way to circumvent calling back into the Document to change it. Document implementations that wish to support a DocumentFilter must provide an implementation that will not callback into the DocumentFilter when the following methods are invoked from the DocumentFilter.
Method from javax.swing.text.DocumentFilter$FilterBypass Summary:
getDocument,   insertString,   remove,   replace
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.DocumentFilter$FilterBypass Detail:
 abstract public Document getDocument()
    Returns the Document the mutation is occuring on.
 abstract public  void insertString(int offset,
    String string,
    AttributeSet attr) throws BadLocationException
    Inserts the specified text, bypassing the DocumentFilter.
 abstract public  void remove(int offset,
    int length) throws BadLocationException
    Removes the specified region of text, bypassing the DocumentFilter.
 abstract public  void replace(int offset,
    int length,
    String string,
    AttributeSet attrs) throws BadLocationException
    Deletes the region of text from offset to offset + length, and replaces it with text.