jas.swingstudio
Class JASConsoleDocumentUtilities

java.lang.Object
  |
  +--jas.swingstudio.JASConsoleDocumentUtilities

public class JASConsoleDocumentUtilities
extends java.lang.Object


Field Summary
static java.lang.String consoleBufferLengthKey
           
static java.lang.String consoleBufferTrimLengthKey
           
static int MAX_DOC_CHARS
           
static int NUM_REMOVE_CHARS
           
 
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
 

Field Detail

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
Method Detail

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