Java Platform 1.2
Beta 4

Package com.sun.java.swing.text

Interface Summary
AbstractDocument.AttributeContext An interface that can be used to allow MutableAttributeSet implementations to use pluggable attribute compression techniques.
AbstractDocument.Content Interface to describe a sequence of character content that can be edited.
AttributeSet A collection of unique attributes.
AttributeSet.CharacterAttribute This interface is the type signature that is expected to be present on any attribute key that contributes to character level presentation.
AttributeSet.ColorAttribute This interface is the type signature that is expected to be present on any attribute key that contributes to presentation of color.
AttributeSet.FontAttribute This interface is the type signature that is expected to be present on any attribute key that contributes to the determination of what font to use to render some text.
AttributeSet.ParagraphAttribute This interface is the type signature that is expected to be present on any attribute key that contributes to the paragraph level presentation.
Caret A place within a document view that represents where things can be inserted into the document model.
Document Container for text that supports editing and provides notification of changes (serves as the model in an MVC relationship).
Element Interface to describe a structural piece of a document.
Highlighter An interface for an object that allows one to mark up the background with colored areas.
Highlighter.Highlight  
Highlighter.HighlightPainter Highlight renderer.
Keymap A collection of bindings of KeyStrokes to actions.
MutableAttributeSet A generic interface for a mutable collection of unique attributes.
Position Represents a location within a document.
Style A collection of attributes to associate with an element in a document.
StyledDocument Interface for a generic styled document.
TabableView Interface for View's that have size dependant upon tabs.
TabExpander Simple interface to allow for different types of implementations of tab expansion.
ViewFactory A factory to create a view of some portion of document subject.
 

Class Summary
AbstractDocument An implementation of the document interface to serve as a basis for implementing various kinds of documents.
AbstractDocument.ElementEdit An implementation of ElementChange that can be added to the document event.
AbstractWriter AbstractWriter is an abstract class that actually does the work of writing out the element tree including the attributes.
BoxView A view of a text model that arranges its children into a box.
ComponentView Component decorator that implements the view interface.
CompositeView A view of a text model that has a children box.
DefaultCaret An implementation of Caret for a view that maps over the entire portion of the model represented (i.e. there are no holes in the area represented) and renders the insert position as a vertical line.
DefaultEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.
DefaultEditorKit.BeepAction Creates a beep.
DefaultEditorKit.CopyAction Coies the selected region and place its contents into the system clipboard.
DefaultEditorKit.CutAction Cuts the selected region and place its contents into the system clipboard.
DefaultEditorKit.DefaultKeyTypedAction The action that is executed by default if a key typed event is received and there is no keymap entry.
DefaultEditorKit.InsertBreakAction Places a line/paragraph break into the document.
DefaultEditorKit.InsertContentAction Places content into the associated document.
DefaultEditorKit.InsertTabAction Places a tab character into the document.
DefaultEditorKit.PasteAction Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.
DefaultHighlighter Implements the Highlighter interfaces.
DefaultHighlighter.DefaultHighlightPainter Simple highlight painter that fills a highlighted area with a solid color.
DefaultStyledDocument A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.
DefaultStyledDocument.ElementSpec Specification for building elements.
DefaultTextUI Deprecated.  
EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.
ElementIterator ElementIterator, as the name suggests, iteratates over the Element tree.
FieldView Extends the multi-line plain text view to be suitable for a single-line editor view.
GapContent An implementation of the AbstractDocument.
IconView Icon decorator that implements the view interface.
JTextComponent JTextComponent is the base class for swing text components.
JTextComponent.KeyBinding Binding record for creating key bindings.
LabelView A LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
ParagraphView View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
PasswordView Implements a View suitable for use in JPasswordField UI implementations.
PlainDocument A plain document that uses one font and color.
PlainView Implements View interface for a simple multi-line text view that has text in one font and color.
Position.Bias A typesafe enumeration to indicate bias to a position in the model.
Segment A segment of a character array representing a fragment of text.
SimpleAttributeSet A straightforward implementation of MutableAttributeSet using a hash table.
StringContent An implementation of the AbstractDocument.
StyleConstants A collection of well known or common attribute keys and methods to apply to an AttributeSet or MutableAttributeSet to get/set the properties in a typesafe manner.
StyleConstants.CharacterConstants This is a typesafe enumeration of the well-known attributes that contribute to a character style.
StyleConstants.ColorConstants This is a typesafe enumeration of the well-known attributes that contribute to a color.
StyleConstants.FontConstants This is a typesafe enumeration of the well-known attributes that contribute to a font.
StyleConstants.ParagraphConstants This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style.
StyleContext A pool of styles and their associated resources.
StyledEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.
StyledEditorKit.AlignmentAction An action to set paragraph alignment.
StyledEditorKit.BoldAction An action to toggle the bold attribute.
StyledEditorKit.FontFamilyAction An action to set the font family in the associated JEditorPane.
StyledEditorKit.FontSizeAction An action to set the font size in the associated JEditorPane.
StyledEditorKit.ForegroundAction An action to set the foreground color in the focused JEditorPane by calling its setForeground method.
StyledEditorKit.ItalicAction An action to toggle the italic attribute.
StyledEditorKit.StyledTextAction An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.
StyledEditorKit.UnderlineAction An action to toggle the underline attribute.
TableView Implements View interface for a table, that is composed of a specific element structure where the child elements of the element this view is responsible for represent rows and the child elements of the row elements are cells.
TabSet A TabSet is comprised of many TabStops.
TabStop This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).
TextAction An Action implementation useful for key bindings that are shared across a number of different text components.
Utilities A collection of methods to deal with various text related activities.
View A view of some portion of document model.
WrappedPlainView View of plain text (text with only one font and color) that does line-wrapping.
 

Exception Summary
BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).
 

Package com.sun.java.swing.text Description

Provides classes and interfaces that deal with editable and noneditable text components. Examples of text components are text fields and text areas, of which password fields and document editors are special instantiations. Features that are supported by this package include selection/highlighting, editing, style, and key mapping.


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.