Uses of Interface javax.swing.text.Document

Uses in package javax.swing.event

Methods with return type javax.swing.text.Document

Document
getDocument

Uses in package javax.swing

Constructors with parameter type javax.swing.text.Document

JPasswordField.JPasswordField(Document document, String text, int columns)
Creates a JPasswordField object.
Creates a new JTextArea object.
JTextArea.JTextArea(Document doc, String text, int rows, int columns)
Creates a new JTextArea object.
JTextField.JTextField(Document doc, String text, int columns)
Creates a new instance of JTextField.

Methods with parameter type javax.swing.text.Document

void
Associates this JFormattedTextField with a Document and propagates a PropertyChange event to each listener.
void
Sets the document to be used for this JTextField.
void
Sets the content model for this JTextPane.

Methods with return type javax.swing.text.Document

Document
Creates the default document model.
Document
Creates the default model for this text field.

Uses in package javax.swing.text.html

Classes implementing javax.swing.text.Document

class
Represents the HTML document that is constructed by defining the text and other components (images, buttons, etc) in HTML language.

Methods with parameter type javax.swing.text.Document

void
HTMLEditorKit.read(Reader in, Document doc, int pos)
Inserts content from the given stream.
void
HTMLEditorKit.write(Writer out, Document doc, int pos, int len)
Writes content from a document to the given stream in an appropriate format.

Methods with return type javax.swing.text.Document

Document
Create a text storage model for this type of editor.

Uses in package javax.swing.text.rtf

Methods with parameter type javax.swing.text.Document

void
RTFEditorKit.read(InputStream stream, Document doc, int pos)
Reads RTF data from stream into doc at the specified position pos.
void
RTFEditorKit.read(Reader reader, Document doc, int pos)
Reads RTF data from reader into doc at the specified position pos.

Uses in package javax.swing.text

Classes implementing javax.swing.text.Document

class
An abstract base implementation for the Document interface.
class
The default implementation of StyledDocument.
class
A simple document class which maps lines to Elements.

Constructors with parameter type javax.swing.text.Document

Create a new AbstractWriter with the indicated Writer and Document.
AbstractWriter.AbstractWriter(Writer writer, Document doc, int pos, int len)
Create a new AbstractWriter with the indicated Writer and Document.
Create a new ElementIterator to iterate over the given document.

Methods with parameter type javax.swing.text.Document

void
DefaultEditorKit.read(InputStream in, Document document, int offset)
Reads a document of the supported content type from an InputStream into the actual Document object.
void
EditorKit.read(InputStream in, Document doc, int pos)
void
DefaultEditorKit.read(Reader in, Document document, int offset)
Reads a document of the supported content type from a Reader into the actual Document object.
void
EditorKit.read(Reader in, Document doc, int pos)
void
void
DefaultEditorKit.write(OutputStream out, Document document, int offset, int len)
Writes the Document (or a fragment of the Document) to an OutputStream in the supported content type format.
void
EditorKit.write(OutputStream out, Document doc, int pos, int len)
void
DefaultEditorKit.write(Writer out, Document document, int offset, int len)
Writes the Document (or a fragment of the Document) to a Writer in the supported content type format.
void
EditorKit.write(Writer out, Document doc, int pos, int len)

Methods with return type javax.swing.text.Document

Document
Creates the default Document that this EditorKit supports.
Document
Document
Creates the default Document supported by this EditorKit.
Document
Returns the Document to which this element belongs.
Document
Returns the document that has been modified.
Document
Return this writer's Document.
Document
Document
Document
Document