Other parameters
Parameter |
Meaning |
Default |
escapeChar |
Escape character to use for parsing the value of the mol parameter. |
|
abbrevgroups |
Replacing the built-in abbreviated group collection with a custom one. The parameter value is the location of the file containing the custom abbreviated groups. The location should be relative to the applet codebase. |
chemaxon/marvin /templates /default.abbrevgroup |
autoCheckStructure |
Enables (true) or disables (false) automatic structure check. To take effect, set statusBar parameter to true as well. |
false |
customAbbrevgroups |
You can add further abbreviations for the default.abbrevgroup contents with the contets of the files that can be specified with the help of this parameter. The parameter has to contain the path of the file relatively to the codebase. |
|
abbrevgroupsAllowed |
Enables/disables the usage of abbreviated groups. If the function is disabled, typing with the keyboard over the canvas will only allow changing atom and bond types. |
true |
userAbbrevGroupsAllowed |
Enables/disables the usage of user defined abbreviated groups. |
true |
defaultSaveFormat |
Sets the default chemical file format in the Save As dialog. |
mrv |
debug |
Debug mode. Possible values: 0, 1, 2. |
0 |
menuconfig |
Specifies an alternative menu customization file location instead of the default .chemaxon/{MarvinSketch_version}/customization.xml (Unix) or chemaxon/{MarvinSketch_version}/customziation.xml (Windows) file under the user's home. Please note that if this parameter is used, the customizationEnabled parameter is automatically set to false. |
|
mergedst |
Merge distance of atoms in C-C bond length units. |
0.1 |
molFormat |
Default file format: mol, csmol, smiles, cxsmiles, cml, pdb, pov, sybyl, or xyz. |
mol |
shortcuts |
Specifies an alternative shortcut customization file location instead of the default .chemaxon/{MarvinSketch_version}/shortcuts.xml (Unix) or chemaxon/{MarvinSketch_version}/shortcuts.xml (Windows) file under the user's home. Please note that if this parameter is used, the customizationEnabled parameter is defaults to false. |
|
symbols |
Comma-separated list of symbols that will be always shown in the Insert Symbol popup. The symbols must be specified as font family name/Unicode code point pairs: fontname:codepoint. Fonts can be physical or logical. The logical fonts supported by the JRE: Serif, SansSerif, Monospaced, Dialog, and DialogInput. |
|
toolbarFloatable |
Setting this parameter to false makes the toolbars immovable. |
true |
undo |
Maximum number of undo operations. |
50 |
viewHelp |
|
|
viewQuickHelp |
|
|
disablePluginsLookup |
Set this to true if you want to disable the lookup for plugins.properties. To load plugins.properties form a location to enable the Tools menu, define the location of the file with toolfiles parameter. |
false |
defaultDatatransferPolicy |
Set this to true if you want to disable the search of datatransfer.properties in the codebase, and use the default configuration (mostly suitable for every use case). |
false |
defaultTool |
Sets the initial editing mode in the sketcher.
|
|
disabledGroupTypesOnUI |
Disable the availability of certain S-group types available at Group Creation/Edit Dialog. (Structure>Group menu, or Contextual menu>Group menupoint.)
|
|
disableSpecialNodes |
Set this to true if you want to disable special nodes on the Advanced tab of the Periodic Table dialog. |
false |
imageImportServiceURL |
Specifies the URL of an image import service for the applet to use. |
empty |
namingWebServiceURL |
Specifies the URL of a name recognition and import service for the name import to use. |
empty |
zoomToScaffoldOnLoad |
Zooms to the scaffold of RG Molecules. |
false |
Applet example:
<
applet
CODE
=
MSketch
WIDTH
=
480
HEIGHT
=
400
>
<
param
NAME
=
"background"
VALUE="#cccccc>
<
param
NAME
=
"molbg"
VALUE
=
"#ffffff"
>
<
param
NAME
=
"implicitH"
VALUE
=
"hetero"
>
</
applet
>
Bean example:
MSketchPane sketchPane =
new
MSketchPane();
sketchPane.setParams(
"background=#cccccc\n"
+
"molbg=#ffffff\n"
+
"implicitH=hetero\n"
);