MarvinView Display parameters

Parameter

Meaning

Default

addRemoveHatomsEnabled

Add/Remove -> Explicit Hydrogens is enabled or disabled in the Edit menu. It will be disabled if this parameter is false.

true

autoTabScale

Automatically change scale when component size changed. Only applicable to the MViewPane bean.

false

background

Background color in hexa. Sets the background color of the components (like menubar, toolbar, labels and buttons), excluding the molecule canvas. See also: molbg

 

confirmTransfer

Displays a confirmation dialog window upon closing the structure editor window in case the structure has been altered.

false

detachable

Enable or disable popping up detached viewer window. If this parameter is true, the selected molecule can be displayed in separate window by selecting "Window" menu item in the popup menu or by doubleclicking on the canvas. Viewer is not detachable if detachable parameter is false. (See also editable.)

true

dispQuality

Display quality.

  • 0 - low quality, faster rendering

  • 1 - high quality (antialiasing), slower rendering

1

molbg

Molecule background color in hexa. To set different colors for some specified cells, use a comma separated list of "i:#rrggbb" settings, where i is the cell index. For example, to set the default color to white and the color of cell 2 to red, use "#ffffff,2:#ff0000". See also: background

 

selectedIndex

Select the specified cell.

 

tabScale

Magnification in the molecule table. Each cell has the specified magnification if positive. The scaling is automatic if negative (-1).

-1

transferButtonIcon

Sets the location of a custom icon for the Transfer action.

 

transferButtonText

Sets custom text for the Transfer action.

 

transferButtonVisible

Makes the Transfer button visible on the General Toolbar.

true

winScale

Magnification in the zoom window. A 1.54 Å long C-C bond is magnified to winScale pixels.

26.4

Simple Viewer applet example:

<applet code="MView" width=100 height=100>
<param name="molbg" value="#a0ffa0">
<param name="escapeChar" value="\">
<param name="mol" value="Pyrrole\n
...
M END\n"></applet>