Package com.sun.java.help.impl
Class CustomKit
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
javax.swing.text.html.HTMLEditorKit
com.sun.java.help.impl.CustomKit
- All Implemented Interfaces:
Serializable,Cloneable,Accessible
Subclass of HTMLEditorKit from Swing to adds better functionality
for handing
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass to watch the associated component and change the cursor when in a hyperlinkNested classes/interfaces inherited from class javax.swing.text.html.HTMLEditorKit
HTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallbackNested classes/interfaces inherited from class javax.swing.text.StyledEditorKit
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineActionNested classes/interfaces 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.html.HTMLEditorKit
BOLD_ACTION, COLOR_ACTION, DEFAULT_CSS, FONT_CHANGE_BIGGER, FONT_CHANGE_SMALLER, IMG_ALIGN_BOTTOM, IMG_ALIGN_MIDDLE, IMG_ALIGN_TOP, IMG_BORDER, ITALIC_ACTION, LOGICAL_STYLE_ACTION, PARA_INDENT_LEFT, PARA_INDENT_RIGHTFields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, 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, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone the editorkitvoidCalled when the kit is being removed from the JEditorPane.Fetch a factory that is suitable for producing views of any models that are produced by this kit.voidCalled when the kit is being installed into the a JEditorPane.Methods inherited from class javax.swing.text.html.HTMLEditorKit
createInputAttributes, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, getStyleSheet, insertHTML, isAutoFormSubmission, read, setAutoFormSubmission, setDefaultCursor, setLinkCursor, setStyleSheet, writeMethods inherited from class javax.swing.text.StyledEditorKit
getCharacterAttributeRunMethods inherited from class javax.swing.text.DefaultEditorKit
createCaret, read, write
-
Constructor Details
-
CustomKit
public CustomKit()
-
-
Method Details
-
clone
Clone the editorkit- Overrides:
clonein classHTMLEditorKit
-
install
Called when the kit is being installed into the a JEditorPane.- Overrides:
installin classHTMLEditorKit- Parameters:
c- the JEditorPane
-
deinstall
Called when the kit is being removed from the JEditorPane. This is used to unregister any listeners that were attached.- Overrides:
deinstallin classHTMLEditorKit- Parameters:
c- the JEditorPane
-
createDefaultDocument
- Overrides:
createDefaultDocumentin classHTMLEditorKit
-
getViewFactory
Fetch a factory that is suitable for producing views of any models that are produced by this kit.- Overrides:
getViewFactoryin classHTMLEditorKit- Returns:
- the factory
-