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:
java.io.Serializable,java.lang.Cloneable,javax.accessibility.Accessible
- Enclosing class:
- BasicHyperlinkUI.ULHtml
static class BasicHyperlinkUI.ULHtml.BasicEditorKit extends javax.swing.text.html.HTMLEditorKit
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.text.html.HTMLEditorKit
javax.swing.text.html.HTMLEditorKit.HTMLFactory, javax.swing.text.html.HTMLEditorKit.HTMLTextAction, javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction, javax.swing.text.html.HTMLEditorKit.LinkController, javax.swing.text.html.HTMLEditorKit.Parser, javax.swing.text.html.HTMLEditorKit.ParserCallback
-
Nested classes/interfaces inherited from class javax.swing.text.StyledEditorKit
javax.swing.text.StyledEditorKit.AlignmentAction, javax.swing.text.StyledEditorKit.BoldAction, javax.swing.text.StyledEditorKit.FontFamilyAction, javax.swing.text.StyledEditorKit.FontSizeAction, javax.swing.text.StyledEditorKit.ForegroundAction, javax.swing.text.StyledEditorKit.ItalicAction, javax.swing.text.StyledEditorKit.StyledTextAction, javax.swing.text.StyledEditorKit.UnderlineAction
-
Nested classes/interfaces inherited from class javax.swing.text.DefaultEditorKit
javax.swing.text.DefaultEditorKit.BeepAction, javax.swing.text.DefaultEditorKit.CopyAction, javax.swing.text.DefaultEditorKit.CutAction, javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction, javax.swing.text.DefaultEditorKit.InsertBreakAction, javax.swing.text.DefaultEditorKit.InsertContentAction, javax.swing.text.DefaultEditorKit.InsertTabAction, javax.swing.text.DefaultEditorKit.PasteAction
-
-
Field Summary
Fields Modifier and Type Field Description private static javax.swing.text.html.StyleSheetdefaultStylesShared 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, 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 Constructor Description BasicEditorKit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.text.DocumentcreateDefaultDocument(java.awt.Font defaultFont, java.awt.Color foreground)Sets the async policy to flush everything in one chunk, and to not display unknown tags.javax.swing.text.html.StyleSheetgetStyleSheet()Overriden to return our own slimmed down style sheet.javax.swing.text.ViewFactorygetViewFactory()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
-
-
-
-
Method Detail
-
getStyleSheet
public javax.swing.text.html.StyleSheet getStyleSheet()
Overriden to return our own slimmed down style sheet.- Overrides:
getStyleSheetin classjavax.swing.text.html.HTMLEditorKit
-
createDefaultDocument
public javax.swing.text.Document createDefaultDocument(java.awt.Font defaultFont, java.awt.Color foreground)Sets the async policy to flush everything in one chunk, and to not display unknown tags.
-
getViewFactory
public javax.swing.text.ViewFactory getViewFactory()
Returns the ViewFactory that is used to make sure the Views don't load in the background.- Overrides:
getViewFactoryin classjavax.swing.text.html.HTMLEditorKit
-
-