Class BasicHyperlinkUI.ULHtml.BasicEditorKit

All Implemented Interfaces:
Serializable, Cloneable, Accessible
Enclosing class:
BasicHyperlinkUI.ULHtml

static class BasicHyperlinkUI.ULHtml.BasicEditorKit extends HTMLEditorKit
  • Field Details

    • defaultStyles

      private static StyleSheet defaultStyles
      Shared base style for all documents created by us use.
  • Constructor Details

    • BasicEditorKit

      BasicEditorKit()
  • Method Details

    • getStyleSheet

      public StyleSheet getStyleSheet()
      Overriden to return our own slimmed down style sheet.
      Overrides:
      getStyleSheet in class HTMLEditorKit
    • createDefaultDocument

      public Document createDefaultDocument(Font defaultFont, Color foreground)
      Sets the async policy to flush everything in one chunk, and to not display unknown tags.
    • getViewFactory

      public ViewFactory getViewFactory()
      Returns the ViewFactory that is used to make sure the Views don't load in the background.
      Overrides:
      getViewFactory in class HTMLEditorKit