Weitere aktuelle Java-Titel finden Sie bei dpunkt.
 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Klasse javax.swing.text.html.HTMLDocument1.2

java.lang.Object
   |
   +--javax.swing.text.AbstractDocument
         |
         +--javax.swing.text.DefaultStyledDocument
               |
               +--javax.swing.text.html.HTMLDocument

Deklaration

public class HTMLDocument
extends javax.swing.text.DefaultStyledDocument

Beschreibung


 
Geschachtelte Klassen
publicHTMLDocument.BlockElement
publicHTMLDocument.HTMLReader
public abstract staticHTMLDocument.Iterator
publicHTMLDocument.RunElement
 
Datenelemente
public final static StringAdditionalComments
 
Konstruktoren
publicHTMLDocument()
publicHTMLDocument(StyleSheet styles)
publicHTMLDocument(AbstractDocument.Content c, StyleSheet styles)
 
Methoden
public HTMLEditorKit.ParserCallbackgetReader(int pos)
public HTMLEditorKit.ParserCallbackgetReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
public URLgetBase()
public voidsetBase(URL u)
protected voidinsert(int offset, DefaultStyledDocument.ElementSpec[] data)
protected voidinsertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
protected voidcreate(DefaultStyledDocument.ElementSpec[] data)
public voidsetParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
public StyleSheetgetStyleSheet()
public HTMLDocument.IteratorgetIterator(HTML.Tag t)
protected ElementcreateLeafElement(Element parent, AttributeSet a, int p0, int p1)
protected ElementcreateBranchElement(Element parent, AttributeSet a)
protected AbstractDocument.AbstractElementcreateDefaultRoot()
public voidsetTokenThreshold(int n)
public intgetTokenThreshold()
public voidsetPreservesUnknownTags(boolean preservesTags)
public booleangetPreservesUnknownTags()
public voidprocessHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent e)
public voidsetParser(HTMLEditorKit.Parser parser)     [1.3]
public HTMLEditorKit.ParsergetParser()     [1.3]
public voidsetInnerHTML(Element elem, String htmlText)     [1.3]
public voidsetOuterHTML(Element elem, String htmlText)     [1.3]
public voidinsertAfterStart(Element elem, String htmlText)     [1.3]
public voidinsertBeforeEnd(Element elem, String htmlText)     [1.3]
public voidinsertBeforeStart(Element elem, String htmlText)     [1.3]
public voidinsertAfterEnd(Element elem, String htmlText)     [1.3]
public ElementgetElement(String id)     [1.3]
public ElementgetElement(Element e, Object attribute, Object value)     [1.3]
protected voidfireChangedUpdate(DocumentEvent e)
protected voidfireUndoableEditUpdate(UndoableEditEvent e)


 

Datenelemente im Detail

public final static String AdditionalComments

 

Konstruktoren im Detail

public HTMLDocument()
public HTMLDocument(StyleSheet styles)
public HTMLDocument(AbstractDocument.Content c, StyleSheet styles)

 

Methoden im Detail

public HTMLEditorKit.ParserCallback getReader(int pos)
public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
public URL getBase()
public void setBase(URL u)
protected void insert(int offset, DefaultStyledDocument.ElementSpec[] data)
Exception: BadLocationException
protected void insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)
protected void create(DefaultStyledDocument.ElementSpec[] data)
public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)
public StyleSheet getStyleSheet()
public HTMLDocument.Iterator getIterator(HTML.Tag t)
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1)
protected Element createBranchElement(Element parent, AttributeSet a)
protected AbstractDocument.AbstractElement createDefaultRoot()
public void setTokenThreshold(int n)
public int getTokenThreshold()
public void setPreservesUnknownTags(boolean preservesTags)
public boolean getPreservesUnknownTags()
public void processHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent e)
public void setParser(HTMLEditorKit.Parser parser)     [1.3]
public HTMLEditorKit.Parser getParser()     [1.3]
public void setInnerHTML(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public void setOuterHTML(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public void insertAfterStart(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public void insertBeforeEnd(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public void insertBeforeStart(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public void insertAfterEnd(Element elem, String htmlText)     [1.3]
Exception: BadLocationException
Exception: IOException
public Element getElement(String id)     [1.3]
public Element getElement(Element e, Object attribute, Object value)     [1.3]
protected void fireChangedUpdate(DocumentEvent e)
protected void fireUndoableEditUpdate(UndoableEditEvent e)


 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.