Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model
Class DocumentEvent  view DocumentEvent download DocumentEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.ide.model.DocumentEvent
All Implemented Interfaces:
java.io.Serializable

public final class DocumentEvent
extends java.util.EventObject

The DocumentEvent is used to indicate that state of a Document has been modified.


Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DocumentEvent(Document document)
          Constructor.
 
Method Summary
 Document getDocument()
          Get the Document whose state has changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentEvent

public DocumentEvent(Document document)
Constructor.

Method Detail

getDocument

public Document getDocument()
Get the Document whose state has changed. This is functionally equivalent to casting the result of getSource() to a Document object.