KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > DefaultStyledDocument

javax.swing.text
Class DefaultStyledDocument

java.lang.Object
  extended by javax.swing.text.AbstractDocument
      extended by javax.swing.text.DefaultStyledDocument
All Implemented Interfaces:
Serializable, Document, StyledDocument
Direct Known Subclasses:
HTMLDocument
See Also:
Top Examples, Source Code, XMLEncoder

public void addDocumentListener(DocumentListener listener)
See Also:
AbstractDocument, Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Style addStyle(String nm,
                      Style parent)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DefaultStyledDocument.ElementBuffer buffer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BUFFER_SIZE_DEFAULT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void create(DefaultStyledDocument.ElementSpec[] data)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractDocument.AbstractElement createDefaultRoot()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultStyledDocument()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultStyledDocument(AbstractDocument.Content c,
                             StyleContext styles)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultStyledDocument(StyleContext styles)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBackground(AttributeSet attr)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Element getCharacterElement(int pos)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Element getDefaultRootElement()
See Also:
AbstractDocument, Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Font getFont(AttributeSet attr)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getForeground(AttributeSet attr)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Style getLogicalStyle(int p)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Element getParagraphElement(int pos)
See Also:
AbstractDocument, StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Style getStyle(String nm)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Enumeration<?> getStyleNames()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void insert(int offset,
                      DefaultStyledDocument.ElementSpec[] data)
               throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void insertUpdate(AbstractDocument.DefaultDocumentEvent chng,
                            AttributeSet attr)
See Also:
AbstractDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeDocumentListener(DocumentListener listener)
See Also:
AbstractDocument, Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeStyle(String nm)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void removeUpdate(AbstractDocument.DefaultDocumentEvent chng)
See Also:
AbstractDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCharacterAttributes(int offset,
                                   int length,
                                   AttributeSet s,
                                   boolean replace)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLogicalStyle(int pos,
                            Style s)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setParagraphAttributes(int offset,
                                   int length,
                                   AttributeSet s,
                                   boolean replace)
See Also:
StyledDocument
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void styleChanged(Style style)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags