javax > javax.swing > javax.swing.text > javax.swing.text.html > javax.swing.text.html.htmldocument >

Class: javax.swing.text.html.HTMLDocument
    java.lang.Object
       javax.swing.text.AbstractDocument
               javax.swing.text.DefaultStyledDocument
                       javax.swing.text.html.HTMLDocument


public class HTMLDocument extends DefaultStyledDocument

Inner Class(es): HTMLDocument.BlockElement, HTMLDocument.HTMLReader, HTMLDocument.Iterator, HTMLDocument.RunElement

FIELDS:
public static final String AdditionalComments : AdditionalComments

CONSTRUCTORS:
public HTMLDocument()

public HTMLDocument(StyleSheet styles)

public HTMLDocument(AbstractDocument.Content c, StyleSheet styles)


METHODS:
protected void create(DefaultStyledDocument.ElementSpec[] data)
Overrides: DefaultStyledDocument

protected Element createBranchElement(Element parent, AttributeSet a)
Overrides: AbstractDocument

protected AbstractDocument.AbstractElement createDefaultRoot()
Overrides: DefaultStyledDocument

protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1)
Overrides: AbstractDocument

protected void fireChangedUpdate(DocumentEvent e)
Overrides: AbstractDocument

protected void fireUndoableEditUpdate(UndoableEditEvent e)
Overrides: AbstractDocument

public URL getBase()

public Element getElement(String id)

public Element getElement(Element e, Object attribute, Object value)

public HTMLDocument.Iterator getIterator(HTML.Tag t)

public HTMLEditorKit.Parser getParser()

public boolean getPreservesUnknownTags()

public HTMLEditorKit.ParserCallback getReader(int pos)

public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)

public StyleSheet getStyleSheet()

public int getTokenThreshold()

protected void insert(int offset, DefaultStyledDocument.ElementSpec[] data)
Throws: BadLocationException
Overrides: DefaultStyledDocument

public void insertAfterEnd(Element elem, String htmlText)
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

public void insertAfterStart(Element elem, String htmlText)
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

public void insertBeforeEnd(Element elem, String htmlText)
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

public void insertBeforeStart(Element elem, String htmlText)
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

protected void insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
Overrides: DefaultStyledDocument
Overrides: AbstractDocument

public void processHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent e)

public void setBase(URL u)

public void setInnerHTML(Element elem, String htmlText)
Throws: IllegalArgumentException
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

public void setOuterHTML(Element elem, String htmlText)
Throws: IllegalStateException
Throws: BadLocationException
Throws: IOException

public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
Overrides: DefaultStyledDocument

public void setParser(HTMLEditorKit.Parser parser)

public void setPreservesUnknownTags(boolean preservesTags)

public void setTokenThreshold(int n)


INHERITED METHODS:
getDefaultRootElement(), create(javax.swing.text.DefaultStyledDocument.ElementSpec[]), insert(int, javax.swing.text.DefaultStyledDocument.ElementSpec[]), addStyle(java.lang.String, javax.swing.text.Style), removeStyle(java.lang.String), getStyle(java.lang.String), getStyleNames(), setLogicalStyle(int, javax.swing.text.Style), getLogicalStyle(int), setCharacterAttributes(int, int, javax.swing.text.AttributeSet, boolean), setParagraphAttributes(int, int, javax.swing.text.AttributeSet, boolean), getParagraphElement(int), getCharacterElement(int), insertUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AttributeSet), removeUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent), createDefaultRoot(), getForeground(javax.swing.text.AttributeSet), getBackground(javax.swing.text.AttributeSet), getFont(javax.swing.text.AttributeSet), styleChanged(javax.swing.text.Style), addDocumentListener(javax.swing.event.DocumentListener), removeDocumentListener(javax.swing.event.DocumentListener), getDocumentProperties(), setDocumentProperties(java.util.Dictionary), fireInsertUpdate(javax.swing.event.DocumentEvent), fireChangedUpdate(javax.swing.event.DocumentEvent), fireRemoveUpdate(javax.swing.event.DocumentEvent), fireUndoableEditUpdate(javax.swing.event.UndoableEditEvent), getListeners(java.lang.Class), getAsynchronousLoadPriority(), setAsynchronousLoadPriority(int), setDocumentFilter(javax.swing.text.DocumentFilter), getDocumentFilter(), render(java.lang.Runnable), getLength(), addDocumentListener(javax.swing.event.DocumentListener), removeDocumentListener(javax.swing.event.DocumentListener), getDocumentListeners(), addUndoableEditListener(javax.swing.event.UndoableEditListener), removeUndoableEditListener(javax.swing.event.UndoableEditListener), getUndoableEditListeners(), getProperty(java.lang.Object), putProperty(java.lang.Object, java.lang.Object), remove(int, int), replace(int, int, java.lang.String, javax.swing.text.AttributeSet), insertString(int, java.lang.String, javax.swing.text.AttributeSet), getText(int, int), getText(int, int, javax.swing.text.Segment), createPosition(int), getStartPosition(), getEndPosition(), getRootElements(), getDefaultRootElement(), getBidiRootElement(), getParagraphElement(int), getAttributeContext(), insertUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AttributeSet), removeUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent), postRemoveUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent), dump(java.io.PrintStream), getContent(), createLeafElement(javax.swing.text.Element, javax.swing.text.AttributeSet, int, int), createBranchElement(javax.swing.text.Element, javax.swing.text.AttributeSet), getCurrentWriter(), writeLock(), writeUnlock(), readLock(), readUnlock(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net