API Overview API Index Direct link to this page
JDK 1.6
  Package: javax.swing.text
Author(s)
Since
1.2
Version
Serial
exclude
Description
  Provides classes and interfaces that deal with editable and noneditable text components.
See also:   
AbstractDocument View Source An implementation of the document interface to serve as a basis for implementing various kinds of documents.
AbstractDocument.AbstractElement View Source Implements the abstract part of an element.
AbstractDocument.AttributeContext View Source An interface that can be used to allow MutableAttributeSet implementations to use pluggable attribute compression techniques.
AbstractDocument.BranchElement View Source Implements a composite element that contains other elements.
AbstractDocument.Content View Source Interface to describe a sequence of character content that can be edited.
AbstractDocument.DefaultDocumentEvent View Source Stores document changes as the document is being modified.
AbstractDocument.ElementEdit View Source An implementation of ElementChange that can be added to the document event.
AbstractDocument.LeafElement View Source Implements an element that directly represents content of some kind.
AbstractWriter View Source AbstractWriter is an abstract class that actually does the work of writing out the element tree including the attributes.
AsyncBoxView View Source A box that does layout asynchronously.
AsyncBoxView.ChildLocator View Source A class to manage the effective position of the child views in a localized area while changes are being made around the localized area.
AsyncBoxView.ChildState View Source A record representing the layout state of a child view.
AttributeSet View Source A collection of unique attributes.
AttributeSet.CharacterAttribute View Source This interface is the type signature that is expected to be present on any attribute key that contributes to character level presentation.
AttributeSet.ColorAttribute View Source This interface is the type signature that is expected to be present on any attribute key that contributes to presentation of color.
AttributeSet.FontAttribute View Source 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 View Source This interface is the type signature that is expected to be present on any attribute key that contributes to the paragraph level presentation.
BadLocationException View Source This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).
BoxView View Source A view that arranges its children into a box shape by tiling its children along an axis.
Caret View Source A place within a document view that represents where things can be inserted into the document model.
ChangedCharSetException View Source ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.
ComponentView View Source Component decorator that implements the view interface.
CompositeView View Source CompositeView is an abstract View implementation which manages one or more child views.
DateFormatter View Source DateFormatter is an InternationalFormatter that does its formatting by way of an instance of java.text.DateFormat.
DefaultCaret View Source A default implementation of Caret.
DefaultEditorKit View Source 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 View Source Creates a beep.
DefaultEditorKit.CopyAction View Source Copies the selected region and place its contents into the system clipboard.
DefaultEditorKit.CutAction View Source Cuts the selected region and place its contents into the system clipboard.
DefaultEditorKit.DefaultKeyTypedAction View Source The action that is executed by default if a key typed event is received and there is no keymap entry.
DefaultEditorKit.InsertBreakAction View Source Places a line/paragraph break into the document.
DefaultEditorKit.InsertContentAction View Source Places content into the associated document.
DefaultEditorKit.InsertTabAction View Source Places a tab character into the document.
DefaultEditorKit.PasteAction View Source Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.
DefaultFormatter View Source DefaultFormatter formats aribtrary objects.
DefaultFormatterFactory View Source An implementation of JFormattedTextField.AbstractFormatterFactory.
DefaultHighlighter View Source Implements the Highlighter interfaces.
DefaultHighlighter.DefaultHighlightPainter View Source Simple highlight painter that fills a highlighted area with a solid color.
DefaultStyledDocument View Source A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.
DefaultStyledDocument.AttributeUndoableEdit View Source An UndoableEdit used to remember AttributeSet changes to an Element.
DefaultStyledDocument.ElementBuffer View Source Class to manage changes to the element hierarchy.
DefaultStyledDocument.ElementSpec View Source Specification for building elements.
DefaultStyledDocument.SectionElement View Source Default root element for a document...
DefaultTextUI View Source This class has been deprecated and should no longer be used.
Document View Source The Document is a container for text that serves as the model for swing text components.
DocumentFilter View Source DocumentFilter, as the name implies, is a filter for the Document mutation methods.
DocumentFilter.FilterBypass View Source Used as a way to circumvent calling back into the Document to change it.
EditorKit View Source Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.
Element View Source Interface to describe a structural piece of a document.
ElementIterator View Source ElementIterator, as the name suggests, iteratates over the Element tree.
FieldView View Source Extends the multi-line plain text view to be suitable for a single-line editor view.
FlowView View Source A View that tries to flow it's children into some partially constrained space.
FlowView.FlowStrategy View Source Strategy for maintaining the physical form of the flow.
GapContent View Source An implementation of the AbstractDocument.Content interface implemented using a gapped buffer similar to that used by emacs.
GlyphView View Source A GlyphView is a styled chunk of text that represents a view mapped over an element in the text model.
GlyphView.GlyphPainter View Source A class to perform rendering of the glyphs.
Highlighter View Source An interface for an object that allows one to mark up the background with colored areas.
Highlighter.Highlight View Source
Highlighter.HighlightPainter View Source Highlight renderer.
IconView View Source Icon decorator that implements the view interface.
InternationalFormatter View Source InternationalFormatter extends DefaultFormatter, using an instance of java.text.Format to handle the conversion to a String, and the conversion from a String.
JTextComponent View Source JTextComponent is the base class for swing text components.
JTextComponent.AccessibleJTextComponent View Source This class implements accessibility support for the JTextComponent class.
JTextComponent.DropLocation View Source Represents a drop location for JTextComponents.
JTextComponent.KeyBinding View Source Binding record for creating key bindings.
Keymap View Source A collection of bindings of KeyStrokes to actions.
LabelView View Source A LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
LayeredHighlighter View Source
LayeredHighlighter.LayerPainter View Source Layered highlight renderer.
LayoutQueue View Source A queue of text layout tasks.
MaskFormatter View Source MaskFormatter is used to format and edit strings.
MutableAttributeSet View Source A generic interface for a mutable collection of unique attributes.
NavigationFilter View Source NavigationFilter can be used to restrict where the cursor can be positioned.
NavigationFilter.FilterBypass View Source Used as a way to circumvent calling back into the caret to position the cursor.
NumberFormatter View Source NumberFormatter subclasses InternationalFormatter adding special behavior for numbers.
ParagraphView View Source View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
PasswordView View Source Implements a View suitable for use in JPasswordField UI implementations.
PlainDocument View Source A plain document that maintains no character attributes.
PlainView View Source Implements View interface for a simple multi-line text view that has text in one font and color.
Position View Source Represents a location within a document.
Position.Bias View Source A typesafe enumeration to indicate bias to a position in the model.
Segment View Source A segment of a character array representing a fragment of text.
SimpleAttributeSet View Source A straightforward implementation of MutableAttributeSet using a hash table.
StringContent View Source An implementation of the AbstractDocument.Content interface that is a brute force implementation that is useful for relatively small documents and/or debugging.
Style View Source A collection of attributes to associate with an element in a document.
StyleConstants View Source 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 View Source This is a typesafe enumeration of the well-known attributes that contribute to a character style.
StyleConstants.ColorConstants View Source This is a typesafe enumeration of the well-known attributes that contribute to a color.
StyleConstants.FontConstants View Source This is a typesafe enumeration of the well-known attributes that contribute to a font.
StyleConstants.ParagraphConstants View Source This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style.
StyleContext View Source A pool of styles and their associated resources.
StyleContext.NamedStyle View Source A collection of attributes, typically used to represent character and paragraph styles.
StyleContext.SmallAttributeSet View Source This class holds a small number of attributes in an array.
StyledDocument View Source Interface for a generic styled document.
StyledEditorKit View Source 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 View Source An action to set paragraph alignment.
StyledEditorKit.BoldAction View Source An action to toggle the bold attribute.
StyledEditorKit.FontFamilyAction View Source An action to set the font family in the associated JEditorPane.
StyledEditorKit.FontSizeAction View Source An action to set the font size in the associated JEditorPane.
StyledEditorKit.ForegroundAction View Source An action to set foreground color.
StyledEditorKit.ItalicAction View Source An action to toggle the italic attribute.
StyledEditorKit.StyledTextAction View Source An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.
StyledEditorKit.UnderlineAction View Source An action to toggle the underline attribute.
TabableView View Source Interface for Views that have size dependent upon tabs.
TabExpander View Source Simple interface to allow for different types of implementations of tab expansion.
TableView View Source Implements View interface for a table, that is composed of an 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.
TableView.TableCell View Source
TableView.TableRow View Source View of a row in a row-centric table.
TabSet View Source A TabSet is comprised of many TabStops.
TabStop View Source This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).
TextAction View Source An Action implementation useful for key bindings that are shared across a number of different text components.
Utilities View Source A collection of methods to deal with various text related activities.
View View Source A very important part of the text package is the View class.
ViewFactory View Source A factory to create a view of some portion of document subject.
WrappedPlainView View Source View of plain text (text with only one font and color) that does line-wrapping.
ZoneView View Source ZoneView is a View implementation that creates zones for which the child views are not created or stored until they are needed for display or model/view translations.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar