multivalent.std.ui
public class Multipage extends Behavior
Version: $Revision: 1.8 $ $Date: 2002/03/07 00:56:23 $
See Also: PersonalAnnos MediaAdaptor
Field Summary | |
---|---|
static String | MSG_CLOSEPAGE
Close current document page, giving other behaviors a chance to save state before moving to a new page or different document.
|
static String | MSG_FIRSTPAGE
Move to the first page of a multipage document.
|
static String | MSG_GOPAGE
Move to the given page of a multipage document.
|
static String | MSG_LASTPAGE
Move to the last page of a multipage document.
|
static String | MSG_NEXTPAGE
Move to the next page of a multipage document.
|
static String | MSG_OPENEDPAGE
Announce new page of document has been opened.
|
static String | MSG_OPENPAGE |
static String | MSG_PREVPAGE
Move to the previous page of a multipage document.
|
static String | MSG_RELOADPAGE
Opens same page.
|
static int | PAGECOUNT_NOT_APPLICABLE |
static int | PAGECOUNT_UNKNOWN |
Method Summary | |
---|---|
void | buildAfter(Document doc) |
boolean | eventAfter(AWTEvent e, Point rel, Node n)
If at bottom of page, Space and PageDown flip to next page.
|
void | restore(ESISNode n, Map<String,Object> attr, Layer layer)
If page given in URL anchor (e.g, #page=5 or #page10 or #page.15 ), use that.
|
boolean | semanticEventAfter(SemanticEvent se, String msg) Implement the following events: previosuPage, nextPage, fistPage, lastPage. |
boolean | semanticEventBefore(SemanticEvent se, String msg) Appear in Go menu, doc popup, toolbar. |
"closePage": arg= java.lang.Integer current-page-number
"firstDocumentPage".
"goPageNum": arg= java.lang.String or java.lang.Integer new-page-number
"lastDocumentPage".
"nextPage".
"openedDocumentPage": arg= xxx
"openDocumentPage".
"previousPage".
"reloadDocumentPage".
#page=5
or #page10
or #page.15
), use that.
Else if PAGE attr already set, store it and set to null, so paginated media adaptor won't try to build.