org.almendra.commons.util.swing
Class JTextPaneHolder

java.lang.Object
  extended by org.almendra.commons.util.swing.JTextPaneHolder

public class JTextPaneHolder
extends java.lang.Object


Field Summary
(package private)  EDU.oswego.cs.dl.util.concurrent.ReentrantLock lock
           
protected  javax.swing.JTextPane textPane
           
 
Constructor Summary
protected JTextPaneHolder()
          Creates a new JTextPaneHolder object.
  JTextPaneHolder(javax.swing.JTextPane textPane)
          Creates a new JTextPaneHolder object.
 
Method Summary
 void addText(java.lang.String text)
           
 void clear()
           
 void clearText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lock

EDU.oswego.cs.dl.util.concurrent.ReentrantLock lock

textPane

protected javax.swing.JTextPane textPane
Constructor Detail

JTextPaneHolder

protected JTextPaneHolder()
Creates a new JTextPaneHolder object.


JTextPaneHolder

public JTextPaneHolder(javax.swing.JTextPane textPane)
Creates a new JTextPaneHolder object.

Method Detail

clearText

public void clearText()

clear

public void clear()

addText

public void addText(java.lang.String text)