JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0 Manuel D’Utilisation

Page de 88
 
 
23
23
23
23
 
reloadList() 
 
E.g. ViewONE.reloadList() 
This method forces the list used with the openList() method to be reloaded and the 
document to be re-opened. It will reload the list file from source (i.e. the web server) each 
time, so if it has changed then the changes will be picked up.  
 
openDoc(index) 
 
E.g. ViewONE.openDoc(2) 
This method applies only when the “doc<N>” HTML parameter is used (see HTML 
manual).  The value of “index” represents the associated “doc<N>” parameter.  Therefore, 
the above example will cause ViewONE to open the second document in the list (i.e., that 
specified by the “doc2” HTML parameter).  
 
nextDoc() 
prevDoc() 
firstDoc() 
lastDoc() 
getDocIndex() 
getNumDocs() 
 
These are convenience methods that can be used in place of the “openDoc” method 
described above. 
 
getNumPages() 
 
E.g. var numPages = ViewONE.getNumPages(); 
Gets the number of pages in the current document (an integer). 
Method:
 
Method:
 
Method 
Group:
 
Method: