UTJML

edu.utep.cs.utjml.canica.jmleditor
Class DocumentSizeFilter

java.lang.Object
  extended by javax.swing.text.DocumentFilter
      extended by edu.utep.cs.utjml.canica.jmleditor.DocumentSizeFilter

public class DocumentSizeFilter
extends DocumentFilter


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.DocumentFilter
DocumentFilter.FilterBypass
 
Constructor Summary
DocumentSizeFilter(int maxChars)
           
 
Method Summary
 void insertString(DocumentFilter.FilterBypass fb, int offs, String str, AttributeSet a)
           
 void replace(DocumentFilter.FilterBypass fb, int offs, int length, String str, AttributeSet a)
           
 
Methods inherited from class javax.swing.text.DocumentFilter
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentSizeFilter

public DocumentSizeFilter(int maxChars)
Method Detail

insertString

public void insertString(DocumentFilter.FilterBypass fb,
                         int offs,
                         String str,
                         AttributeSet a)
                  throws BadLocationException
Overrides:
insertString in class DocumentFilter
Throws:
BadLocationException

replace

public void replace(DocumentFilter.FilterBypass fb,
                    int offs,
                    int length,
                    String str,
                    AttributeSet a)
             throws BadLocationException
Overrides:
replace in class DocumentFilter
Throws:
BadLocationException

UTJML

UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.