Uses of Package
javax.swing.text
Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
javax.accessibility |
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors. |
javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
javax.swing.text.rtf |
Provides a class (
RTFEditorKit ) for creating Rich-Text-Format text
editors. |
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
-
Classes in javax.swing.text used by java.awt Class Description AttributeSet A collection of unique attributes. -
Classes in javax.swing.text used by javax.accessibility Class Description AttributeSet A collection of unique attributes. -
Classes in javax.swing.text used by javax.swing Class Description AttributeSet A collection of unique attributes.BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).Document TheDocument
is a container for text that serves as the model for swing text components.DocumentFilter DocumentFilter
, as the name implies, is a filter for theDocument
mutation methods.EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.Element Interface to describe a structural piece of a document.JTextComponent JTextComponent
is the base class for swing text components.JTextComponent.AccessibleJTextComponent This class implements accessibility support for theJTextComponent
class.JTextComponent.KeyBinding Binding record for creating key bindings.MutableAttributeSet A generic interface for a mutable collection of unique attributes.NavigationFilter NavigationFilter
can be used to restrict where the cursor can be positioned.Position.Bias A typesafe enumeration to indicate bias to a position in the model.Style A collection of attributes to associate with an element in a document.StyledDocument Interface for a generic styled document.StyledEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document. -
Classes in javax.swing.text used by javax.swing.event Class Description Document TheDocument
is a container for text that serves as the model for swing text components.Element Interface to describe a structural piece of a document. -
Classes in javax.swing.text used by javax.swing.plaf Class Description BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.JTextComponent JTextComponent
is the base class for swing text components.Position.Bias A typesafe enumeration to indicate bias to a position in the model.View A very important part of the text package is theView
class. -
Classes in javax.swing.text used by javax.swing.plaf.basic Class Description BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).Caret A place within a document view that represents where things can be inserted into the document model.DefaultCaret A default implementation of Caret.DefaultHighlighter Implements the Highlighter interfaces.EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.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.JTextComponent JTextComponent
is the base class for swing text components.Keymap A collection of bindings of KeyStrokes to actions.LayeredHighlighter Position.Bias A typesafe enumeration to indicate bias to a position in the model.View A very important part of the text package is theView
class.ViewFactory A factory to create a view of some portion of document subject. -
Classes in javax.swing.text used by javax.swing.plaf.metal Class Description ViewFactory A factory to create a view of some portion of document subject. -
Classes in javax.swing.text used by javax.swing.plaf.multi Class Description BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.JTextComponent JTextComponent
is the base class for swing text components.Position.Bias A typesafe enumeration to indicate bias to a position in the model.View A very important part of the text package is theView
class. -
Classes in javax.swing.text used by javax.swing.plaf.synth Class Description Element Interface to describe a structural piece of a document.View A very important part of the text package is theView
class.ViewFactory A factory to create a view of some portion of document subject. -
Classes in javax.swing.text used by javax.swing.text Class Description AbstractDocument An implementation of the document interface to serve as a basis for implementing various kinds of documents.AbstractDocument.AbstractElement Implements the abstract part of an element.AbstractDocument.AttributeContext An interface that can be used to allow MutableAttributeSet implementations to use pluggable attribute compression techniques.AbstractDocument.BranchElement Implements a composite element that contains other elements.AbstractDocument.Content Interface to describe a sequence of character content that can be edited.AbstractDocument.DefaultDocumentEvent Stores document changes as the document is being modified.AsyncBoxView.ChildLocator 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 A record representing the layout state of a child view.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.BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).BoxView A view that arranges its children into a box shape by tiling its children along an axis.Caret A place within a document view that represents where things can be inserted into the document model.CompositeView CompositeView
is an abstractView
implementation which manages one or more child views.DefaultEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.DefaultFormatter DefaultFormatter
formats arbitrary objects.DefaultStyledDocument.ElementBuffer Class to manage changes to the element hierarchy.DefaultStyledDocument.ElementSpec Specification for building elements.Document TheDocument
is a container for text that serves as the model for swing text components.DocumentFilter DocumentFilter
, as the name implies, is a filter for theDocument
mutation methods.DocumentFilter.FilterBypass Used as a way to circumvent calling back into the Document to change it.EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.Element Interface to describe a structural piece of a document.ElementIterator ElementIterator
, as the name suggests, iterates over theElement
tree.FieldView Extends the multi-line plain text view to be suitable for a single-line editor view.FlowView A View that tries to flow it's children into some partially constrained space.FlowView.FlowStrategy Strategy for maintaining the physical form of the flow.GlyphView A GlyphView is a styled chunk of text that represents a view mapped over an element in the text model.GlyphView.GlyphPainter A class to perform rendering of the glyphs.Highlighter An interface for an object that allows one to mark up the background with colored areas.Highlighter.Highlight A highlight.Highlighter.HighlightPainter Highlight renderer.InternationalFormatter InternationalFormatter
extendsDefaultFormatter
, using an instance ofjava.text.Format
to handle the conversion to a String, and the conversion from a String.JTextComponent JTextComponent
is the base class for swing text components.JTextComponent.DropLocation Represents a drop location forJTextComponent
s.JTextComponent.KeyBinding Binding record for creating key bindings.Keymap A collection of bindings of KeyStrokes to actions.LayeredHighlighter LayeredHighlighter.LayerPainter Layered highlight renderer.LayoutQueue A queue of text layout tasks.MutableAttributeSet A generic interface for a mutable collection of unique attributes.NavigationFilter NavigationFilter
can be used to restrict where the cursor can be positioned.NavigationFilter.FilterBypass Used as a way to circumvent calling back into the caret to position the cursor.PlainView Implements View interface for a simple multi-line text view that has text in one font and color.Position Represents a location within a document.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.Style A collection of attributes to associate with an element in a document.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.StyleContext A pool of styles and their associated resources.StyleContext.SmallAttributeSet This class holds a small number of attributes in an array.StyledDocument Interface for a generic styled document.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.StyledTextAction An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.TabableView Interface forView
s that have size dependent upon tabs.TabExpander Simple interface to allow for different types of implementations of tab expansion.TableView.TableCell Deprecated.A table cell can now be any View implementation.TableView.TableRow View of a row in a row-centric table.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.View A very important part of the text package is theView
class.ViewFactory A factory to create a view of some portion of document subject. -
Classes in javax.swing.text used by javax.swing.text.html Class Description AbstractDocument An implementation of the document interface to serve as a basis for implementing various kinds of documents.AbstractDocument.AbstractElement Implements the abstract part of an element.AbstractDocument.AttributeContext An interface that can be used to allow MutableAttributeSet implementations to use pluggable attribute compression techniques.AbstractDocument.BranchElement Implements a composite element that contains other elements.AbstractDocument.Content Interface to describe a sequence of character content that can be edited.AbstractDocument.DefaultDocumentEvent Stores document changes as the document is being modified.AbstractDocument.LeafElement Implements an element that directly represents content of some kind.AbstractWriter AbstractWriter is an abstract class that actually does the work of writing out the element tree including the attributes.AttributeSet A collection of unique attributes.BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).BoxView A view that arranges its children into a box shape by tiling its children along an axis.ComponentView Component decorator that implements the view interface.CompositeView CompositeView
is an abstractView
implementation which manages one or more child views.DefaultEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.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.Document TheDocument
is a container for text that serves as the model for swing text components.EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.Element Interface to describe a structural piece of a document.FlowView A View that tries to flow it's children into some partially constrained space.GlyphView A GlyphView is a styled chunk of text that represents a view mapped over an element in the text model.LabelView ALabelView
is a styled chunk of text that represents a view mapped over an element in the text model.MutableAttributeSet A generic interface for a mutable collection of unique attributes.ParagraphView View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.Position.Bias A typesafe enumeration to indicate bias to a position in the model.Style A collection of attributes to associate with an element in a document.StyleContext A pool of styles and their associated resources.StyleContext.SmallAttributeSet This class holds a small number of attributes in an array.StyledDocument Interface for a generic styled document.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.StyledTextAction An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.TabableView Interface forView
s that have size dependent upon tabs.TabExpander Simple interface to allow for different types of implementations of tab expansion.TextAction An Action implementation useful for key bindings that are shared across a number of different text components.View A very important part of the text package is theView
class.ViewFactory A factory to create a view of some portion of document subject. -
Classes in javax.swing.text used by javax.swing.text.html.parser Class Description ChangedCharSetException ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.SimpleAttributeSet A straightforward implementation of MutableAttributeSet using a hash table. -
Classes in javax.swing.text used by javax.swing.text.rtf Class Description BadLocationException This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).DefaultEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.Document TheDocument
is a container for text that serves as the model for swing text components.EditorKit Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.StyledEditorKit This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document. -
Classes in javax.swing.text used by javax.swing.tree Class Description JTextComponent JTextComponent
is the base class for swing text components.