Package org.jmol.viewer
Class ChimeMessenger
java.lang.Object
org.jmol.viewer.ChimeMessenger
- All Implemented Interfaces:
JmolChimeMessenger
A legacy Chime-compatible messenger. Enabled using set messageStyleChime.
Probably used only by ProteinExplorer. Consolidates all Chime business and
gets this code out of Viewer and other more commonly used classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAllChimeInfo
(SB sb) getInfoXYZ
(Atom a) called when an atom is pickedvoid
reportSelection
(int n) report atom selection in Chime formatscriptCompleted
(StatusManager sm, String statusMessage, String strErrorMessageUntranslated) called when a script exits.void
#xxxx command outputvoid
called upon script exit and file opening
-
Constructor Details
-
ChimeMessenger
public ChimeMessenger()
-
-
Method Details
-
set
- Specified by:
set
in interfaceJmolChimeMessenger
-
getInfoXYZ
called when an atom is picked- Specified by:
getInfoXYZ
in interfaceJmolChimeMessenger
-
showHash
#xxxx command output- Specified by:
showHash
in interfaceJmolChimeMessenger
-
reportSelection
public void reportSelection(int n) report atom selection in Chime format- Specified by:
reportSelection
in interfaceJmolChimeMessenger
-
update
called upon script exit and file opening- Specified by:
update
in interfaceJmolChimeMessenger
-
scriptCompleted
public String scriptCompleted(StatusManager sm, String statusMessage, String strErrorMessageUntranslated) called when a script exits.- Specified by:
scriptCompleted
in interfaceJmolChimeMessenger
-
getAllChimeInfo
- Specified by:
getAllChimeInfo
in interfaceJmolChimeMessenger
-