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) ViewerjmolAppViewerprivate StringjmolUnits(package private) NmrnmrApp(package private) static Stringnotification(package private) booleanstarted
-
Constructor Summary
Constructors Constructor Description NmrPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()ImageIcongetMenuIcon()StringgetMenuText()StringgetName()StringgetVersion()StringgetWebSite()booleanisStarted()voidnotifyCallback(CBK type, Object[] data)voidsetVisible(boolean b)voidstart(JFrame frame, Viewer vwr, Map<String,Object> jmolOptions)private voidstartApp()private voidtransferStateFromJmol()(package private) voidtransferStateToJmol()
-
-
-
Method Detail
-
start
public void start(JFrame frame, Viewer vwr, Map<String,Object> jmolOptions)
- Specified by:
startin interfaceJmolPlugin
-
startApp
private void startApp()
-
transferStateFromJmol
private void transferStateFromJmol()
-
transferStateToJmol
void transferStateToJmol()
-
destroy
public void destroy()
- Specified by:
destroyin interfaceJmolPlugin
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceJmolPlugin
-
getName
public String getName()
- Specified by:
getNamein interfaceJmolPlugin
-
setVisible
public void setVisible(boolean b)
- Specified by:
setVisiblein interfaceJmolPlugin
-
notifyCallback
public void notifyCallback(CBK type, Object[] data)
- Specified by:
notifyCallbackin interfaceJmolPlugin
-
getMenuIcon
public ImageIcon getMenuIcon()
- Specified by:
getMenuIconin interfaceJmolPlugin
-
getMenuText
public String getMenuText()
- Specified by:
getMenuTextin interfaceJmolPlugin
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceJmolPlugin
-
getWebSite
public String getWebSite()
- Specified by:
getWebSitein interfaceJmolPlugin
-
-