KickJava   Java API By Example, From Geeks To Geeks.

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

javax.swing.text
Interface Document

All Known Subinterfaces:
StyledDocument
All Known Implementing Classes:
AbstractDocument, DefaultStyledDocument, HTMLDocument, PlainDocument
See Also:
Top Examples, Source Code, DocumentEvent, DocumentListener, UndoableEditEvent, UndoableEditListener, Element, Position, AttributeSet

void addDocumentListener(DocumentListener listener)
See Also:
removeDocumentListener(javax.swing.event.DocumentListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void addUndoableEditListener(UndoableEditListener listener)
See Also:
UndoableEditEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Position createPosition(int offs)
                        throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


Object getProperty(Object key)
See Also:
putProperty(Object, Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Element[] getRootElements()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


String getText(int offset,
               int length)
               throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void getText(int offset,
             int length,
             Segment txt)
             throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void insertString(int offset,
                  String str,
                  AttributeSet a)
                  throws BadLocationException
See Also:
UndoableEditListener, UndoableEditEvent, DocumentListener, DocumentEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void putProperty(Object key,
                 Object value)
See Also:
getProperty(Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void remove(int offs,
            int len)
            throws BadLocationException
See Also:
UndoableEditListener, UndoableEditEvent, DocumentListener, DocumentEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeDocumentListener(DocumentListener listener)
See Also:
addDocumentListener(javax.swing.event.DocumentListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeUndoableEditListener(UndoableEditListener listener)
See Also:
UndoableEditEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void render(Runnable r)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final String StreamDescriptionProperty
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final String TitleProperty
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags