public class ExtendedHTMLDocument extends HTMLDocument
Component
s.Modifier and Type | Class and Description |
---|---|
protected class |
ExtendedHTMLDocument.ExtendedHTMLReader |
HTMLDocument.BlockElement, HTMLDocument.HTMLReader, HTMLDocument.Iterator, HTMLDocument.RunElement
DefaultStyledDocument.AttributeUndoableEdit, DefaultStyledDocument.ElementBuffer, DefaultStyledDocument.ElementSpec, DefaultStyledDocument.SectionElement
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
Modifier and Type | Field and Description |
---|---|
protected static HTML.Tag |
COMP_TAG |
protected ArrayList<Component> |
mKnownCompList |
AdditionalComments
buffer, BUFFER_SIZE_DEFAULT
BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementName
StreamDescriptionProperty, TitleProperty
Constructor and Description |
---|
ExtendedHTMLDocument(StyleSheet ss) |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponent(Vector<DefaultStyledDocument.ElementSpec> parseBuffer,
Component comp) |
String |
createCompTag(Component comp) |
HTMLEditorKit.ParserCallback |
getReader(int pos) |
HTMLEditorKit.ParserCallback |
getReader(int pos,
int popDepth,
int pushDepth,
HTML.Tag insertTag) |
protected void |
handleCompTag(HTML.Tag tag,
MutableAttributeSet attributeSet,
Vector<DefaultStyledDocument.ElementSpec> parseBuffer) |
create, createBranchElement, createDefaultRoot, createLeafElement, fireChangedUpdate, fireUndoableEditUpdate, getBase, getElement, getElement, getIterator, getParser, getPreservesUnknownTags, getStyleSheet, getTokenThreshold, insert, insertAfterEnd, insertAfterStart, insertBeforeEnd, insertBeforeStart, insertUpdate, processHTMLFrameHyperlinkEvent, setBase, setInnerHTML, setOuterHTML, setParagraphAttributes, setParser, setPreservesUnknownTags, setTokenThreshold
addDocumentListener, addStyle, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, removeDocumentListener, removeElement, removeStyle, removeUpdate, setCharacterAttributes, setLogicalStyle, styleChanged
addUndoableEditListener, createPosition, dump, fireInsertUpdate, fireRemoveUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, insertString, postRemoveUpdate, putProperty, readLock, readUnlock, remove, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeUndoableEditListener, render
protected static final HTML.Tag COMP_TAG
public ExtendedHTMLDocument(StyleSheet ss)
public HTMLEditorKit.ParserCallback getReader(int pos)
getReader
in class HTMLDocument
public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
getReader
in class HTMLDocument
protected void handleCompTag(HTML.Tag tag, MutableAttributeSet attributeSet, Vector<DefaultStyledDocument.ElementSpec> parseBuffer)
protected void addComponent(Vector<DefaultStyledDocument.ElementSpec> parseBuffer, Component comp)
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)