|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.AbstractDocumentEvent com.levigo.jadice.document.AbstractPageEvent
public abstract class AbstractPageEvent
This is an abstract base class for page concerning document events or simply page events.
Constructor Summary | |
---|---|
AbstractPageEvent(Document doc,
Page page)
Constructor |
|
AbstractPageEvent(Page page)
Constructor |
Method Summary | |
---|---|
Document |
getDocument()
Returns the document which holds the page source of this event. |
Page |
getPage()
Return the page which originates this event |
protected void |
setPage(Page page)
Sets the page source of this event. |
Methods inherited from class com.levigo.jadice.document.AbstractDocumentEvent |
---|
setDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPageEvent(Page page)
Using this constructor allows to create a page event without a reference to the enclosing document. This might be useful if the document is unknown or not available at the moment of event creation.
page
- the page which originates this eventpublic AbstractPageEvent(Document doc, Page page)
Creates a page event with given document and page as event sources.
doc
- the document container in which the event occurspage
- the page which originates the eventMethod Detail |
---|
public Page getPage()
protected void setPage(Page page)
page
- the source this event is triggered bypublic Document getDocument()
null
, if the document reference was unknown or not available at creation time of
this event.
getDocument
in class AbstractDocumentEvent
null
AbstractDocumentEvent.getDocument()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |