swingwtx.swing.text
Class PlainDocument

java.lang.Object
  extended byswingwtx.swing.text.AbstractDocument
      extended byswingwtx.swing.text.PlainDocument
All Implemented Interfaces:
Document, java.io.Serializable

public class PlainDocument
extends AbstractDocument

Plain Document implementation (default for JTextField, JPasswordField and JTextArea)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class swingwtx.swing.text.AbstractDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
 
Field Summary
 
Fields inherited from class swingwtx.swing.text.AbstractDocument
content, documentListeners, props, undoListeners
 
Fields inherited from interface swingwtx.swing.text.Document
StreamDescriptionProperty, TitleProperty
 
Constructor Summary
PlainDocument()
           
PlainDocument(AbstractDocument.Content c)
           
 
Method Summary
 Element getDefaultRootElement()
           
 Element getParagraphElement(int pos)
           
 
Methods inherited from class swingwtx.swing.text.AbstractDocument
addDocumentListener, addUndoableEditListener, createPosition, fireDocumentEvent, getDocumentFilter, getEndPosition, getFilterBypass, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render, setDocumentFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainDocument

public PlainDocument()

PlainDocument

public PlainDocument(AbstractDocument.Content c)
Method Detail

getDefaultRootElement

public Element getDefaultRootElement()

getParagraphElement

public Element getParagraphElement(int pos)
Specified by:
getParagraphElement in class AbstractDocument