Class BasicHyperlinkUI.ULHtml.BasicEditorKit
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
javax.swing.text.html.HTMLEditorKit
org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI.ULHtml.BasicEditorKit
- All Implemented Interfaces:
Serializable, Cloneable, Accessible
- Enclosing class:
BasicHyperlinkUI.ULHtml
-
Nested Class Summary
Nested classes/interfaces inherited from class HTMLEditorKit
HTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallbackNested classes/interfaces inherited from class StyledEditorKit
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineActionNested classes/interfaces inherited from class DefaultEditorKit
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static StyleSheetShared base style for all documents created by us use.Fields inherited from class 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 DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginLineUpAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, downAction, endAction, endLineAction, endLineDownAction, 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 TypeMethodDescriptioncreateDefaultDocument(Font defaultFont, Color foreground) Sets the async policy to flush everything in one chunk, and to not display unknown tags.Overriden to return our own slimmed down style sheet.Returns the ViewFactory that is used to make sure the Views don't load in the background.Methods inherited from class HTMLEditorKit
clone, createDefaultDocument, createInputAttributes, deinstall, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, insertHTML, install, isAutoFormSubmission, read, setAutoFormSubmission, setDefaultCursor, setLinkCursor, setStyleSheet, writeMethods inherited from class StyledEditorKit
getCharacterAttributeRunMethods inherited from class DefaultEditorKit
createCaret, read, write
-
Field Details
-
defaultStyles
Shared base style for all documents created by us use.
-
-
Constructor Details
-
BasicEditorKit
BasicEditorKit()
-
-
Method Details
-
getStyleSheet
Overriden to return our own slimmed down style sheet.- Overrides:
getStyleSheetin classHTMLEditorKit
-
createDefaultDocument
-
getViewFactory
Returns the ViewFactory that is used to make sure the Views don't load in the background.- Overrides:
getViewFactoryin classHTMLEditorKit
-