Generated by
JDiff

Class javax.swing.text.AbstractDocument

Documentation changed from old to new.

Changed Constructors
AbstractDocument(Content) Documentation changed from old to new.
Constructs a new AbstractDocument wrapped around some specified content storage mechanism.
AbstractDocument(Content, AttributeContext) Documentation changed from old to new.
Constructs a new AbstractDocument wrapped around some specified content storage mechanism.
 

Added Methods
DocumentFilter getDocumentFilter() Returns the DocumentFilter that is responsible for filtering of insertion/removal.
DocumentListener[] getDocumentListeners() Returns an array of all the document listeners registered on this document.
UndoableEditListener[] getUndoableEditListeners() Returns an array of all the undoable edit listeners registered on this document.
void replace(int, int, String, AttributeSet) Deletes the region of text from offset to offset + length and replaces it with text.
void setDocumentFilter(DocumentFilter) Sets the DocumentFilter.
 

Changed Methods
void addDocumentListener(DocumentListener) Documentation changed from old to new.
Adds a document listener for notification of any changes.
void addUndoableEditListener(UndoableEditListener) Documentation changed from old to new.
Adds an undo listener for notification of any changes.
Element createLeafElement(Element, AttributeSet, int, int) Documentation changed from old to new.
Creates a document leaf element.
int getAsynchronousLoadPriority() Documentation changed from old to new.
Gets the asynchronous loading priority.
Thread getCurrentWriter() Documentation changed from old to new.
Fetches the current writing thread if there is one.
Dictionary getDocumentProperties() Documentation changed from old to new.
Supports managing a set of properties.
EventListener[] getListeners(Class) Documentation changed from old to new.
Returns an array of all the objects currently registered as FooListeners upon this document.
Object getProperty(Object) Documentation changed from old to new.
A convenience method for looking up a property value.
void putProperty(Object, Object) Documentation changed from old to new.
A convenience method for storing up a property value.
void removeDocumentListener(DocumentListener) Documentation changed from old to new.
Removes a document listener.
void removeUndoableEditListener(UndoableEditListener) Documentation changed from old to new.
Removes an undo listener.
void render(Runnable) Documentation changed from old to new.
This allows the model to be safely rendered in the presence of currency if the model supports being updated asynchronously.
void setAsynchronousLoadPriority(int) Documentation changed from old to new.
Sets the asynchronous loading priority.
void setDocumentProperties(Dictionary) Documentation changed from old to new.
Replaces the document properties dictionary for this document.
void writeLock() Documentation changed from old to new.
Acquires a lock to begin mutating the document this lock protects.
void writeUnlock() Documentation changed from old to new.
Releases a write lock previously obtained via writeLock.
void getText(int, int, Segment) Documentation changed from old to new.
Fetches the text contained within the given portion of the document.