javax.swing.text
Class StyledEditorKit

java.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

 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deletePrevCharAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction,