Package org.jmol.jsv
Class JSpecView
- java.lang.Object
-
- org.jmol.jsv.JSpecView
-
- All Implemented Interfaces:
JmolJSpecView
public class JSpecView extends Object implements JmolJSpecView
-
-
Constructor Summary
Constructors Constructor Description JSpecView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
atomPicked(int atomIndex)
int
getBaseModelIndex(int modelIndex)
private String
getPeakAtomRecord(int atomIndex)
String
processSync(String script, int jsvMode)
private void
sendJSpecView(String peak)
void
setModel(int modelIndex)
void
setViewer(Viewer vwr)
-
-
-
Field Detail
-
vwr
private Viewer vwr
-
-
Method Detail
-
setViewer
public void setViewer(Viewer vwr)
- Specified by:
setViewer
in interfaceJmolJSpecView
-
atomPicked
public void atomPicked(int atomIndex)
- Specified by:
atomPicked
in interfaceJmolJSpecView
-
getPeakAtomRecord
private String getPeakAtomRecord(int atomIndex)
-
sendJSpecView
private void sendJSpecView(String peak)
-
setModel
public void setModel(int modelIndex)
- Specified by:
setModel
in interfaceJmolJSpecView
-
getBaseModelIndex
public int getBaseModelIndex(int modelIndex)
- Specified by:
getBaseModelIndex
in interfaceJmolJSpecView
-
processSync
public String processSync(String script, int jsvMode)
- Specified by:
processSync
in interfaceJmolJSpecView
-
-