class StatusListener extends java.lang.Object implements JmolStatusListener, JmolSyncInterface, JSVInterface
| Modifier and Type | Field and Description |
|---|---|
private DisplayPanel |
display |
private JmolPanel |
jmol |
private jspecview.application.MainFrame |
jSpecViewFrame |
private static java.lang.String |
propertiesFileName |
private JmolViewer |
viewer |
| Constructor and Description |
|---|
StatusListener(JmolPanel jmol,
DisplayPanel display) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createImage(java.lang.String fileName,
java.lang.String type,
java.lang.Object text_or_bytes,
int quality)
Starting with Jmol 11.8.RC5, for a context where the Jmol application
is embedded in another application simply to send the returned message
to the application.
|
java.lang.String |
eval(java.lang.String strEval) |
void |
exitJSpecView(boolean withDialog,
java.lang.Object frame) |
float[][] |
functionXY(java.lang.String functionName,
int nX,
int nY)
this is just a test method for isosurface FUNCTIONXY
|
float[][][] |
functionXYZ(java.lang.String functionName,
int nX,
int nY,
int nZ)
for isosurface FUNCTIONXYZ
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperty(java.lang.String type) |
java.util.Map<java.lang.String,java.lang.Object> |
getRegistryInfo() |
private void |
notifyAtomPicked(java.lang.String info) |
void |
notifyCallback(EnumCallback type,
java.lang.Object[] data) |
boolean |
notifyEnabled(EnumCallback type) |
private void |
notifyFileLoaded(java.lang.String fullPathName,
java.lang.String fileName,
java.lang.String modelName,
java.lang.String errorMsg) |
void |
register(java.lang.String id,
JmolSyncInterface jsi) |
void |
resizeInnerPanel(java.lang.String data) |
void |
runScript(java.lang.String script)
no queuing here -- called by MainFrame
|
void |
saveProperties(java.util.Properties properties) |
private void |
sendConsoleMessage(java.lang.String strStatus) |
void |
setCallbackFunction(java.lang.String callbackType,
java.lang.String callbackFunction) |
void |
setJSpecView(java.lang.String peaks) |
void |
setProperties(java.util.Properties properties) |
(package private) void |
setViewer(JmolViewer viewer) |
void |
showUrl(java.lang.String url) |
void |
syncScript(java.lang.String script) |
void |
syncToJmol(java.lang.String msg) |
private JmolPanel jmol
private DisplayPanel display
private JmolViewer viewer
private jspecview.application.MainFrame jSpecViewFrame
private static java.lang.String propertiesFileName
StatusListener(JmolPanel jmol, DisplayPanel display)
void setViewer(JmolViewer viewer)
public boolean notifyEnabled(EnumCallback type)
notifyEnabled in interface JmolCallbackListenerpublic void notifyCallback(EnumCallback type, java.lang.Object[] data)
notifyCallback in interface JmolCallbackListenerpublic void setCallbackFunction(java.lang.String callbackType,
java.lang.String callbackFunction)
setCallbackFunction in interface JmolCallbackListenerpublic java.lang.String eval(java.lang.String strEval)
eval in interface JmolStatusListenerpublic java.lang.String createImage(java.lang.String fileName,
java.lang.String type,
java.lang.Object text_or_bytes,
int quality)
JmolStatusListenercreateImage in interface JmolStatusListenerfileName - type - text_or_bytes - quality - private void notifyAtomPicked(java.lang.String info)
private void notifyFileLoaded(java.lang.String fullPathName,
java.lang.String fileName,
java.lang.String modelName,
java.lang.String errorMsg)
private void sendConsoleMessage(java.lang.String strStatus)
public void showUrl(java.lang.String url)
showUrl in interface JmolStatusListenerpublic float[][] functionXY(java.lang.String functionName,
int nX,
int nY)
functionXY in interface JmolStatusListenerfunctionName - nX - nY - public float[][][] functionXYZ(java.lang.String functionName,
int nX,
int nY,
int nZ)
JmolStatusListenerfunctionXYZ in interface JmolStatusListenerpublic java.util.Map<java.lang.String,java.lang.Object> getRegistryInfo()
getRegistryInfo in interface JmolStatusListenerpublic void resizeInnerPanel(java.lang.String data)
resizeInnerPanel in interface JmolStatusListenerpublic void setJSpecView(java.lang.String peaks)
public void register(java.lang.String id,
JmolSyncInterface jsi)
register in interface JmolSyncInterfacepublic void syncScript(java.lang.String script)
syncScript in interface JmolSyncInterfacepublic void setProperties(java.util.Properties properties)
setProperties in interface JSVInterfacepublic void saveProperties(java.util.Properties properties)
saveProperties in interface JSVInterfacepublic void exitJSpecView(boolean withDialog,
java.lang.Object frame)
exitJSpecView in interface JSVInterfacewithDialog - frame - public void runScript(java.lang.String script)
runScript in interface JSVInterfacescript - public void syncToJmol(java.lang.String msg)
syncToJmol in interface JSVInterfacemsg - public java.util.Map<java.lang.String,java.lang.Object> getProperty(java.lang.String type)
getProperty in interface JmolStatusListenergetProperty in interface JmolSyncInterface