com.qoppa.pdf
Class DocumentEvent

java.lang.Object
  extended bycom.qoppa.pdf.DocumentEvent

public class DocumentEvent
extends Object

Event object that gets sent to IDocumentListener methods whenever a document is changed.

Author:
Qoppa Software

Field Summary
static int ANNOTATION_ADDED
           
static int ANNOTATIONS_IMPORTED
           
static int DOCUMENT_CHANGED
           
static int INSERT_LAYER
           
static int PAGE_ADDED
           
static int PAGE_CHANGED
           
static int PAGE_REMOVED
           
static int WIDGETS_REMOVED
           
 
Constructor Summary
DocumentEvent(IPDFDocument doc, int eventType, int pageIndex)
           
DocumentEvent(IPDFDocument doc, int eventType, int pageIndex, Object object)
           
 
Method Summary
 IPDFDocument getDocument()
           
 int getEventType()
           
 Object getObject()
           
 int getPageIndex()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_CHANGED

public static final int PAGE_CHANGED
See Also:
Constant Field Values

INSERT_LAYER

public static final int INSERT_LAYER
See Also:
Constant Field Values

PAGE_ADDED

public static final int PAGE_ADDED
See Also:
Constant Field Values

PAGE_REMOVED

public static final int PAGE_REMOVED
See Also:
Constant Field Values

ANNOTATIONS_IMPORTED

public static final int ANNOTATIONS_IMPORTED
See Also:
Constant Field Values

WIDGETS_REMOVED

public static final int WIDGETS_REMOVED
See Also:
Constant Field Values

DOCUMENT_CHANGED

public static final int DOCUMENT_CHANGED
See Also:
Constant Field Values

ANNOTATION_ADDED

public static final int ANNOTATION_ADDED
See Also:
Constant Field Values
Constructor Detail

DocumentEvent

public DocumentEvent(IPDFDocument doc,
                     int eventType,
                     int pageIndex)

DocumentEvent

public DocumentEvent(IPDFDocument doc,
                     int eventType,
                     int pageIndex,
                     Object object)
Method Detail

getObject

public Object getObject()

getEventType

public int getEventType()

getDocument

public IPDFDocument getDocument()

getPageIndex

public int getPageIndex()