Package org.jdesktop.swingx.plaf.basic
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 javax.swing.text.html.HTMLEditorKit
HTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallback
Nested classes/interfaces inherited from class javax.swing.text.StyledEditorKit
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineAction
Nested 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
FieldsModifier and TypeFieldDescriptionprivate static StyleSheet
Shared base style for all documents created by us use.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_RIGHT
Fields inherited from class javax.swing.text.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 javax.swing.text.html.HTMLEditorKit
clone, createDefaultDocument, createInputAttributes, deinstall, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, insertHTML, install, isAutoFormSubmission, read, setAutoFormSubmission, setDefaultCursor, setLinkCursor, setStyleSheet, write
Methods inherited from class javax.swing.text.StyledEditorKit
getCharacterAttributeRun
Methods inherited from class javax.swing.text.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:
getStyleSheet
in classHTMLEditorKit
-
createDefaultDocument
Sets the async policy to flush everything in one chunk, and to not display unknown tags. -
getViewFactory
Returns the ViewFactory that is used to make sure the Views don't load in the background.- Overrides:
getViewFactory
in classHTMLEditorKit
-