JAVA Tech VERSION 3.0 Marine Radio User Manual


 
44
4444
44
setDraggingEnabled(true/false)
E.g. ViewONE.setDraggingEnabled(true);
Specifies whether the dragging of the image is permitted or not (using the mouse).
Dragging the image to the right pans the image to the right, dragging the image to the left
pans the image to the left etc.
A value of ‘true’ (default) indicates dragging is permitted and ‘false’ indicates that it is not
isDraggingEnabled()
E.g. var draggingEnabled = ViewONE.isDraggingEnabled();
Returns a Boolean value of ‘true’ if dragging is allowed else a value ‘false’ is returned.
setBrightness(percent)
E.g. ViewONE.setBrighness(60);
This method sets the brightness of the displayed. The value represents a percentage from
0-100, with 50 being the default value. 0 = minimum brightness (dark) and 100 =
maximum brightness (light).
If the document is closed when this method is called, the default for all pages is modified. If
the document is open when this method is called, the individual page is modified only.
resetBrightness()
E.g. ViewONE.resetBrighness();
This method resets the brightness level to 50% (the default value).
If the document is closed when this method is called, the default for all pages is modified. If
the document is open when this method is called, the individual page is modified only.
Method:
Method:
Method:
Method: