Page tree

To handle the property change events of MViewPane, the java.beans.PropertyChangeListener interface must be implemented.

Property nameTypeMeaning
"mols#"Molecule[]Molecule(s) changed in the specified cell (# = 0, ..., n-1).
"implicitH"StringImlpicit Hydrogen display style changed.
"explicitH"BooleanExplicit Hydrogen display style changed.
true: show explicit H atoms
false: hide explicit H atoms
"navmode"StringDrag action changed.
translate: Translate, zoom: Zoom, rotZ: Rotate, rot3d: Rotate in 3D
"tabScale"DoubleMagnification for molecule cells changed.
"winScale"DoubleZoom window magnification changed.
"colorScheme"StringColor scheme changed.
"rendering"StringRendering style changed.
"wireThickness"DoubleWire thickness changed.
"stickThickness"DoubleSticks diameter changed.
"ballRadius"DoubleBall radius changed.
"grinv"BooleanGraph invariants displayed/not displayed.
"downWedge"StringDown wedge bond orientation changed.
"animFPS"DoubleAnimation frame rate changed.
"animDelay"DoubleAnimation repeat delay Animation repeat delay changed.
"animSync"DoubleAnimation synchronization changed.
"invisibleSets"LongVisibility of atom sets changed.
"atomNumbersVisible" Deprecated
"atomNumberingType"IntegerVisibility of atom numbers changed.
"valencePropertyVisible"BooleanVisibility of valence properties changed.
"ligandErrorVisible"BooleanVisibility of ligand error changed.
"atomMappingVisible"BooleanVisibility of atom mapping changed.
"popupMenusEnabled"BooleanPopup menus are enabled/disabled.
"detachable"BooleanDetachability of viewer is changed.
"selectedIndex"IntegerThe selected cell is changed.
"atomMarked"StringAn atom is selected on one of the canvases. The value contains the cell index and the atom index separated with a comma.
"draggable"BooleanThe draggable property is changed.
"windowOpened"StringA new MarvinView or MarvinSketch window is opened from the viewer. If a sketcher is opened the value contains sketchInView#cellindex#, when a viewer is opened, the value contains viewframe#cellindex, where #cellindex is the index of the opened cell in the viewer firing the event.
"windowClosed"BooleanAn MarvinView or MarvinSketch window that was opened from the viewer is being closed. If a sketcher was opened the value contains sketchInView#cellindex#, when a viewer wass opened, the value contains viewframe#cellindex, where #cellindex is the index of the opened cell in the viewer firing the event.
"sketchInView"MSketchPaneThis event is being fired when a sketcher gets opened from the viewer, or such a sketcher is closing. At open the newValue contains a reference for the opening sketcher, when closing, the newValue is null, and the oldValue contains the reference for the sketcher

 

Since the behaviour of buttons and checkboxes in molecule cells are similar as javax.swing.AbstractButton objects, they can fire java.awt.event.ActionEvents and java.awt.event.ItemEvents.