Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.java.swing.text.EditorKit | +--com.sun.java.swing.text.DefaultEditorKit | +--com.sun.java.swing.text.StyledEditorKit
Inner Class Summary | |
static | StyledEditorKit.AlignmentAction
An action to set paragraph alignment. |
static | StyledEditorKit.BoldAction
An action to toggle the bold attribute. |
static | StyledEditorKit.FontFamilyAction
An action to set the font family in the associated JEditorPane. |
static | StyledEditorKit.FontSizeAction
An action to set the font size in the associated JEditorPane. |
static | StyledEditorKit.ForegroundAction
An action to set the foreground color in the focused JEditorPane by calling its setForeground method. |
static | StyledEditorKit.ItalicAction
An action to toggle the italic attribute. |
static | StyledEditorKit.StyledTextAction
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed. |
static | StyledEditorKit.UnderlineAction
An action to toggle the underline attribute. |
Inner classes inherited from class com.sun.java.swing.text.DefaultEditorKit | |
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction |
Constructor Summary | |
StyledEditorKit()
|
Method Summary | |
java.lang.Object | clone()
Create a copy of the editor kit. |
Document | createDefaultDocument()
Creates an uninitialized text storage model that is appropriate for this type of editor. |
void | deinstall(JEditorPane c)
Called when the kit is being removed from the JEditorPane. |
Action[] | getActions()
Fetches the command list for the editor. |
Element | getCharacterAttributeRun()
Fetches the element representing the current run of character attributes for the caret. |
MutableAttributeSet | getInputAttributes()
Gets the input attributes for the pane. |
ViewFactory | getViewFactory()
Fetches a factory that is suitable for producing views of any models that are produced by this kit. |
void | install(JEditorPane c)
Called when the kit is being installed into a JEditorPane. |
Methods inherited from class com.sun.java.swing.text.DefaultEditorKit | |
clone, createCaret, createDefaultDocument, getActions, getContentType, getViewFactory, read, read, write, write |
Methods inherited from class com.sun.java.swing.text.EditorKit | |
clone, createCaret, createDefaultDocument, deinstall, getActions, getContentType, getViewFactory, install, read, read, write, write |
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public StyledEditorKit()
Method Detail |
public MutableAttributeSet getInputAttributes()
public Element getCharacterAttributeRun()
public java.lang.Object clone()
public Action[] getActions()
public Document createDefaultDocument()
public void install(JEditorPane c)
c
- the JEditorPanepublic void deinstall(JEditorPane c)
c
- the JEditorPanepublic ViewFactory getViewFactory()
Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |