Package com.levigo.jadice.document
Class AbstractDocumentEvent
java.lang.Object
com.levigo.jadice.document.AbstractDocumentEvent
- Direct Known Subclasses:
AbstractPageEvent
AbstractDocumentEvent is the abstract root class for document events. For specific document
events this class could be subclassed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the document which is the source of this event.void
setDocument
(Document document) Sets the document which originates this event.
-
Constructor Details
-
AbstractDocumentEvent
Constructor- Parameters:
doc
- the document the event is originated from
-
-
Method Details
-
getDocument
Returns the document which is the source of this event.- Returns:
- a reference to the document which originates this event
-
setDocument
Sets the document which originates this event.- Parameters:
document
- the document
-