Class NmrPlugin
- java.lang.Object
-
- org.openscience.jmol.app.janocchio.NmrPlugin
-
- All Implemented Interfaces:
JmolPlugin
public class NmrPlugin extends Object implements JmolPlugin
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Viewer
jmolAppViewer
private String
jmolUnits
(package private) Nmr
nmrApp
(package private) static String
notification
(package private) boolean
started
-
Constructor Summary
Constructors Constructor Description NmrPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
ImageIcon
getMenuIcon()
String
getMenuText()
String
getName()
String
getVersion()
String
getWebSite()
boolean
isStarted()
void
notifyCallback(CBK type, Object[] data)
void
setVisible(boolean b)
void
start(JFrame frame, Viewer vwr, Map<String,Object> jmolOptions)
private void
startApp()
private void
transferStateFromJmol()
(package private) void
transferStateToJmol()
-
-
-
Method Detail
-
start
public void start(JFrame frame, Viewer vwr, Map<String,Object> jmolOptions)
- Specified by:
start
in interfaceJmolPlugin
-
startApp
private void startApp()
-
transferStateFromJmol
private void transferStateFromJmol()
-
transferStateToJmol
void transferStateToJmol()
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceJmolPlugin
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceJmolPlugin
-
getName
public String getName()
- Specified by:
getName
in interfaceJmolPlugin
-
setVisible
public void setVisible(boolean b)
- Specified by:
setVisible
in interfaceJmolPlugin
-
notifyCallback
public void notifyCallback(CBK type, Object[] data)
- Specified by:
notifyCallback
in interfaceJmolPlugin
-
getMenuIcon
public ImageIcon getMenuIcon()
- Specified by:
getMenuIcon
in interfaceJmolPlugin
-
getMenuText
public String getMenuText()
- Specified by:
getMenuText
in interfaceJmolPlugin
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interfaceJmolPlugin
-
getWebSite
public String getWebSite()
- Specified by:
getWebSite
in interfaceJmolPlugin
-
-