Toolbars and Buttons

Method: 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.).

Method:

Method:

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.

Method: isStatusBar()

E.g. var statusBarVisible = ViewONE.isStatusBar();

Returns a Boolean value of ‘true’ if the statusbar is visible else a value ‘false’ is returned.

61

Page 61
Image 61
JAVA Tech VERSION 3.0 manual Toolbars and Buttons, Method setScrollbarstrue/false, IsScrollbars, SetStatusBartrue/false