Справочник Пользователя для JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0

Скачать
Страница из 88
 
 
24
24
24
24
 
setPage(page) 
 
E.g. ViewONE.setPage(2); 
Sets the current page number (an integer). 
 
getPage() 
 
E.g. var page = ViewONE.getPage(); 
Returns the current page number as an integer. 
 
nextPage() 
 
E.g. ViewONE.nextPage(); 
Convenience method to view the next page (current page + 1) 
 
previousPage() 
 
E.g. ViewONE.previousPage(); 
Convenience method to view the previous page (current page - 1). 
 
setDescription(description) 
getDescription() 
 
E.g.  
var desc = ViewONE.getDescription(); 
ViewONE.setDescription(“myDoc”); 
Gets or sets the description for the document. The description is used when opening the 
document in ViewONE, “Opening docXYZ…” or “Opening docXYZ, page 2….” will be 
displayed in the status bar. 
Method:
 
Method:
 
Method:
 
Method:
 
Method 
Group: