Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
static class: BasicHTML.BasicDocument [javadoc | source]
java.lang.Object
   javax.swing.text.AbstractDocument
      javax.swing.text.DefaultStyledDocument
         javax.swing.text.html.HTMLDocument
            javax.swing.plaf.basic.BasicHTML$BasicDocument

All Implemented Interfaces:
    StyledDocument, Document, Serializable

The subclass of HTMLDocument that is used as the model. getForeground is overridden to return the foreground property from the Component this was created for.
Fields inherited from javax.swing.text.html.HTMLDocument:
TokenThreshold,  AdditionalComments,  StyleType,  base,  hasBaseTag,  MAP_PROPERTY
Fields inherited from javax.swing.text.DefaultStyledDocument:
BUFFER_SIZE_DEFAULT,  buffer
Fields inherited from javax.swing.text.AbstractDocument:
listenerList,  BAD_LOCATION,  ParagraphElementName,  ContentElementName,  SectionElementName,  BidiElementName,  ElementNameAttribute,  I18NProperty,  MultiByteProperty,  AsyncLoadPriority
Constructor:
 BasicDocument(StyleSheet s,
    Font defaultFont,
    Color foreground) 
    The host, that is where we are rendering.
Methods from javax.swing.text.html.HTMLDocument:
addMap,   create,   createBranchElement,   createDefaultRoot,   createLeafElement,   fireChangedUpdate,   fireUndoableEditUpdate,   getBase,   getBaseTarget,   getDefaultStyleSheetType,   getElement,   getElement,   getIterator,   getMap,   getMaps,   getParser,   getPreservesUnknownTags,   getReader,   getReader,   getReader,   getStyleSheet,   getTokenThreshold,   hasBaseTag,   insert,   insertAfterEnd,   insertAfterStart,   insertBeforeEnd,   insertBeforeStart,   insertUpdate,   isFrameDocument,   matchNameAttribute,   obtainLock,   processHTMLFrameHyperlinkEvent,   releaseLock,   removeMap,   setBase,   setDefaultStyleSheetType,   setFrameDocumentState,   setInnerHTML,   setOuterHTML,   setParagraphAttributes,   setParser,   setPreservesUnknownTags,   setTokenThreshold
Methods from javax.swing.text.DefaultStyledDocument:
addDocumentListener,   addStyle,   create,   createDefaultRoot,   createSpecsForInsertAfterNewline,   createStyleChangeListener,   createStyleContextChangeListener,   getBackground,   getCharacterElement,   getDefaultRootElement,   getFont,   getForeground,   getLogicalStyle,   getParagraphElement,   getStyle,   getStyleNames,   insert,   insertUpdate,   removeDocumentListener,   removeElement,   removeStyle,   removeUpdate,   setCharacterAttributes,   setLogicalStyle,   setParagraphAttributes,   styleChanged,   updateStylesListeningTo
Methods from javax.swing.text.AbstractDocument:
addDocumentListener,   addUndoableEditListener,   createBranchElement,   createLeafElement,   createPosition,   dump,   fireChangedUpdate,   fireInsertUpdate,   fireRemoveUpdate,   fireUndoableEditUpdate,   getAsynchronousLoadPriority,   getAttributeContext,   getBidiRootElement,   getContent,   getCurrentWriter,   getDefaultRootElement,   getDocumentFilter,   getDocumentListeners,   getDocumentProperties,   getEndPosition,   getLength,   getListeners,   getParagraphElement,   getProperty,   getRootElements,   getStartPosition,   getText,   getText,   getUndoableEditListeners,   handleInsertString,   handleRemove,   insertString,   insertUpdate,   isLeftToRight,   postRemoveUpdate,   putProperty,   readLock,   readUnlock,   remove,   removeDocumentListener,   removeUndoableEditListener,   removeUpdate,   render,   replace,   setAsynchronousLoadPriority,   setDocumentFilter,   setDocumentProperties,   updateBidi,   writeLock,   writeUnlock
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait