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

Page de 88
 
 
61
61
61
61
 
Toolbars and Buttons 
 
setScrollbars(true/false) 
 
E.g. ViewONE.setScrollbars(true); 
 
Specifies whether scrollbars will appear when the image is scaled to a size larger than the 
display area.  A value of  ‘true’ (default) indicates scrollbars are required and ‘false’ 
indicates they are not. A change in this setting will be visible after the next refresh of the 
display (e.g. when a page is zoomed or unzoomed or a page is changed etc.). 
 
isScrollbars() 
 
E.g. var scrollbars = ViewONE.isScrollbars(); 
 
Returns a Boolean value of ‘true’ if scrollbars are enabled else a value ‘false’ is returned. 
 
setStatusBar(true/false) 
 
E.g. ViewONE.setStatusBar(true); 
 
Specifies whether the statusbar is visible or not. A value of  ‘true’ (default) indicates the 
statusbar is visible and ‘false’ indicates that it is not. 
 
isStatusBar() 
 
E.g. var statusBarVisible = ViewONE.isStatusBar(); 
 
Returns a Boolean value of ‘true’ if the statusbar is visible else a value ‘false’ is returned. 
Method:
 
Method:
 
Method:
 
Method: