jas.swingstudio
Class JASConsoleDocumentUtilities
java.lang.Object
|
+--jas.swingstudio.JASConsoleDocumentUtilities
- public class JASConsoleDocumentUtilities
- extends java.lang.Object
Method Summary |
static void |
clearDoc(javax.swing.text.Document d)
clear the contents of a Document |
static void |
trimDoc(javax.swing.text.Document d)
prevent a Document from getting so huge that performance degrades |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
consoleBufferLengthKey
public static final java.lang.String consoleBufferLengthKey
consoleBufferTrimLengthKey
public static final java.lang.String consoleBufferTrimLengthKey
MAX_DOC_CHARS
public static final int MAX_DOC_CHARS
NUM_REMOVE_CHARS
public static final int NUM_REMOVE_CHARS
clearDoc
public static void clearDoc(javax.swing.text.Document d)
- clear the contents of a Document
trimDoc
public static void trimDoc(javax.swing.text.Document d)
- prevent a Document from getting so huge that performance degrades