KickJava   Java API By Example, From Geeks To Geeks.

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

javax.swing.text
Class AbstractDocument

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

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


protected AbstractDocument(AbstractDocument.Content data,
                           AbstractDocument.AttributeContext context)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


protected Element createBranchElement(Element parent,
                                      AttributeSet a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Element createLeafElement(Element parent,
                                    AttributeSet a,
                                    int p0,
                                    int p1)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public void dump(PrintStream out)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


protected void fireChangedUpdate(DocumentEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireInsertUpdate(DocumentEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireRemoveUpdate(DocumentEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireUndoableEditUpdate(UndoableEditEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


protected final Thread getCurrentWriter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public DocumentFilter getDocumentFilter()
See Also:
setDocumentFilter(javax.swing.text.DocumentFilter)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DocumentListener[] getDocumentListeners()
See Also:
removeDocumentListener(javax.swing.event.DocumentListener), addDocumentListener(javax.swing.event.DocumentListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dictionary<Object,Object> getDocumentProperties()
See Also:
setDocumentProperties(java.util.Dictionary)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Position getEndPosition()
See Also:
Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getUndoableEditListeners(), getDocumentListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Element getParagraphElement(int pos)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public final Position getStartPosition()
See Also:
Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public UndoableEditListener[] getUndoableEditListeners()
See Also:
removeUndoableEditListener(javax.swing.event.UndoableEditListener), addUndoableEditListener(javax.swing.event.UndoableEditListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insertString(int offs,
                         String str,
                         AttributeSet a)
                  throws BadLocationException
See Also:
Document
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


public final void readLock()
See Also:
readUnlock()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void readUnlock()
See Also:
readLock()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


public void replace(int offset,
                    int length,
                    String text,
                    AttributeSet attrs)
             throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public void setAsynchronousLoadPriority(int p)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDocumentFilter(DocumentFilter filter)
See Also:
getDocumentFilter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDocumentProperties(Dictionary<Object,Object> x)
See Also:
getDocumentProperties()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void writeLock()
See Also:
IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void writeUnlock()
See Also:
writeLock()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags