com.qoppa.pdf
Class DocumentEvent

java.lang.Object
  extended by com.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 ANNOT_REMOVED
           
static int ANNOTATION_ADDED
           
static int ANNOTATION_MODIFIED
           
static int ANNOTATION_MOVED
           
static int ANNOTATIONS_IMPORTED
           
static int ATTACH_ADDED
           
static int ATTACH_REMOVED
           
static int BOOKMARK_CHANGED
           
static int BOOKMARK_CREATED
           
static int DOCUMENT_CHANGED
           
static int INSERT_LAYER
           
static int PAGE_ADDED
           
static int PAGE_CONTENT_CHANGED
           
static int PAGE_REMOVED
           
static int PAGE_SIZE_CHANGED
           
static int PAGEANNOTS_REMOVED
           
static int PAGEFIELDS_FLATTENED
           
static int REPLACECONTENT_OCCURED
           
 
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_CONTENT_CHANGED

public static final int PAGE_CONTENT_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

PAGEFIELDS_FLATTENED

public static final int PAGEFIELDS_FLATTENED
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

PAGEANNOTS_REMOVED

public static final int PAGEANNOTS_REMOVED
See Also:
Constant Field Values

ANNOT_REMOVED

public static final int ANNOT_REMOVED
See Also:
Constant Field Values

BOOKMARK_CHANGED

public static final int BOOKMARK_CHANGED
See Also:
Constant Field Values

ANNOTATION_MODIFIED

public static final int ANNOTATION_MODIFIED
See Also:
Constant Field Values

PAGE_SIZE_CHANGED

public static final int PAGE_SIZE_CHANGED
See Also:
Constant Field Values

ATTACH_ADDED

public static final int ATTACH_ADDED
See Also:
Constant Field Values

ATTACH_REMOVED

public static final int ATTACH_REMOVED
See Also:
Constant Field Values

BOOKMARK_CREATED

public static final int BOOKMARK_CREATED
See Also:
Constant Field Values

ANNOTATION_MOVED

public static final int ANNOTATION_MOVED
See Also:
Constant Field Values

REPLACECONTENT_OCCURED

public static final int REPLACECONTENT_OCCURED
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()