javax.swing.text
Class StyledEditorKitjava.lang.Object | +--javax.swing.text.EditorKit | +--javax.swing.text.DefaultEditorKit | +--javax.swing.text.StyledEditorKit
- All Implemented Interfaces:
- Cloneable, Serializable
- Direct Known Subclasses:
- HTMLEditorKit, RTFEditorKit
- public class StyledEditorKit
- extends DefaultEditorKit
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document. This implementation provides a default implementation which treats text as styled text and provides a minimal set of actions for editing styled text.
Nested Class Summary
static class StyledEditorKit.AlignmentAction
An action to set paragraph alignment.static class StyledEditorKit.BoldAction
An action to toggle the bold attribute.static class StyledEditorKit.FontFamilyAction
An action to set the font family in the associated JEditorPane.static class StyledEditorKit.FontSizeAction
An action to set the font size in the associated JEditorPane.static class StyledEditorKit.ForegroundAction
An action to set foreground color.static class StyledEditorKit.ItalicAction
An action to toggle the italic attribute.static class StyledEditorKit.StyledTextAction
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.static class StyledEditorKit.UnderlineAction
An action to toggle the underline attribute.
Nested classes inherited from class javax.swing.text.DefaultEditorKit DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction
Field Summary