Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
static class: BasicHTML.BasicEditorKit [javadoc | source]
java.lang.Object
   javax.swing.text.EditorKit
      javax.swing.text.DefaultEditorKit
         javax.swing.text.StyledEditorKit
            javax.swing.text.html.HTMLEditorKit
               javax.swing.plaf.basic.BasicHTML$BasicEditorKit

All Implemented Interfaces:
    Accessible, Cloneable, Serializable

The views produced for the ComponentUI implementations aren't going to be edited and don't need full html support. This kit alters the HTMLEditorKit to try and trim things down a bit. It does the following:
Fields inherited from javax.swing.text.html.HTMLEditorKit:
DEFAULT_CSS,  input,  BOLD_ACTION,  ITALIC_ACTION,  PARA_INDENT_LEFT,  PARA_INDENT_RIGHT,  FONT_CHANGE_BIGGER,  FONT_CHANGE_SMALLER,  COLOR_ACTION,  LOGICAL_STYLE_ACTION,  IMG_ALIGN_TOP,  IMG_ALIGN_MIDDLE,  IMG_ALIGN_BOTTOM,  IMG_BORDER
Fields inherited from javax.swing.text.StyledEditorKit:
currentRun,  currentParagraph,  inputAttributes
Fields inherited from javax.swing.text.DefaultEditorKit:
EndOfLineStringProperty,  insertContentAction,  insertBreakAction,  insertTabAction,  deletePrevCharAction,  deleteNextCharAction,  deleteNextWordAction,  deletePrevWordAction,  readOnlyAction,  writableAction,  cutAction,  copyAction,  pasteAction,  beepAction,  pageUpAction,  pageDownAction,  selectionPageUpAction,  selectionPageDownAction,  selectionPageLeftAction,  selectionPageRightAction,  forwardAction,  backwardAction,  selectionForwardAction,  selectionBackwardAction,  upAction,  downAction,  selectionUpAction,  selectionDownAction,  beginWordAction,  endWordAction,  selectionBeginWordAction,  selectionEndWordAction,  previousWordAction,  nextWordAction,  selectionPreviousWordAction,  selectionNextWordAction,  beginLineAction,  endLineAction,  selectionBeginLineAction,  selectionEndLineAction,  beginParagraphAction,  endParagraphAction,  selectionBeginParagraphAction,  selectionEndParagraphAction,  beginAction,  endAction,  selectionBeginAction,  selectionEndAction,  selectWordAction,  selectLineAction,  selectParagraphAction,  selectAllAction,  unselectAction,  toggleComponentOrientationAction,  defaultKeyTypedAction
Method from javax.swing.plaf.basic.BasicHTML$BasicEditorKit Summary:
createDefaultDocument,   getStyleSheet,   getViewFactory
Methods from javax.swing.text.html.HTMLEditorKit:
clone,   createDefaultDocument,   createInputAttributes,   deinstall,   getAccessibleContext,   getActions,   getContentType,   getDefaultCursor,   getInputAttributes,   getLinkCursor,   getParser,   getResourceAsStream,   getStyleSheet,   getViewFactory,   insertHTML,   install,   isAutoFormSubmission,   read,   setAutoFormSubmission,   setDefaultCursor,   setLinkCursor,   setStyleSheet,   write
Methods from javax.swing.text.StyledEditorKit:
clone,   createDefaultDocument,   createInputAttributes,   deinstall,   getActions,   getCharacterAttributeRun,   getInputAttributes,   getViewFactory,   install
Methods from javax.swing.text.DefaultEditorKit:
createCaret,   createDefaultDocument,   getActions,   getContentType,   getInputAttributes,   getViewFactory,   read,   read,   write,   write
Methods from javax.swing.text.EditorKit:
clone,   createCaret,   createDefaultDocument,   deinstall,   getActions,   getContentType,   getViewFactory,   install,   read,   read,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicHTML$BasicEditorKit Detail:
 public Document createDefaultDocument(Font defaultFont,
    Color foreground) 
    Sets the async policy to flush everything in one chunk, and to not display unknown tags.
 public StyleSheet getStyleSheet() 
    Overriden to return our own slimmed down style sheet.
 public ViewFactory getViewFactory() 
    Returns the ViewFactory that is used to make sure the Views don't load in the background.