JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0 Benutzerhandbuch

Seite von 88
 
 
65
65
65
65
isNewWindowButtons() 
 
E.g. var buttonVisible = ViewONE.isNewWindowButtons(); 
 
Returns a Boolean value of ‘true’ if the new-window button is visible else a value ‘false’ is 
returned. 
 
setViewButtons(true/false) 
 
E.g. ViewONE.setViewButtons(true); 
 
Specifies whether the toolbar includes view buttons. A value of  ‘true’ (default) indicates 
the buttons are visible and ‘false’ indicates they are not. 
The view buttons are:  
Fullpage, Thumbnails, Two-page, Thumbs-left, Thumbs-bottom, Thumbs-right, Thumbs-
top. 
 
 
 
isViewButtons() 
 
E.g. var buttonsVisible = ViewONE.isViewButtons(); 
 
Returns a Boolean value of ‘true’ if the view buttons are visible else a value ‘false’ is 
returned. 
 
setAllButtons(true/false) 
 
E.g. ViewONE.setAllButtons(true); 
 
Specifies whether all buttons are visible or not (these are file, print, image, new-window 
and view buttons). A value of  ‘true’ (default) indicates the buttons are visible and ‘false’ 
indicates they are not.
 
Security note: This method is disabled by default unless the 
“JavascriptExtensions” parameter is set to “true”. 
 
Method:
 
Method:
 
Method:
 
Method: