Method: setFileButtons(true/false)

E.g. ViewONE.setFileButtons(true);

Specifies whether the toolbar includes file buttons. A value of ‘true’ (default) indicates the buttons are visible and ‘false’ indicates they are not.

The file buttons are:

Open, Close, Save.

Security note: This method is disabled by default unless the “JavascriptExtensions” parameter is set to “true”.

Method: isFileButtons()

E.g. var buttonsVisible = ViewONE.isFileButtons();

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

62

Page 62
Image 62
JAVA Tech VERSION 3.0 manual Method setFileButtonstrue/false, Method isFileButtons