APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.text.html

pack-priv Class TextAreaDocument

extends PlainDocument
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.swing.text.*

TextAreaDocument extends the capabilities of the PlainDocument to store the data that is initially set in the Document. This is stored in order to enable an accurate reset of the state when a reset is requested.
Author
Sunita Mani

Field Summary

Modifier and TypeField and Description
pack-priv String
Inherited from javax.swing.text.PlainDocument:
lineLimitAttributetabSizeAttribute

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
reset()

Resets the model by removing all the data, and restoring it to its initial state.

pack-priv void
storeInitialText()

Stores the data that the model is initially loaded with.

Inherited from javax.swing.text.PlainDocument:
createDefaultRootgetDefaultRootElementgetParagraphElementinsertStringinsertUpdateremoveUpdate

Field Detail

initialTextback to summary
pack-priv String initialText

Constructor Detail

TextAreaDocumentback to summary
pack-priv TextAreaDocument()

Method Detail

resetback to summary
pack-priv void reset()

Resets the model by removing all the data, and restoring it to its initial state.

storeInitialTextback to summary
pack-priv void storeInitialText()

Stores the data that the model is initially loaded with.