org.jmol.applet
class Jmol.MyStatusListener extends Object implements JmolStatusListener
Modifier and Type | Field and Description |
---|---|
private boolean |
haveNotifiedError |
Constructor and Description |
---|
Jmol.MyStatusListener() |
Modifier and Type | Method and Description |
---|---|
private void |
consoleMessage(String message) |
String |
createImage(String fileName,
String type,
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.
|
String |
eval(String strEval) |
protected void |
finalize() |
float[][] |
functionXY(String functionName,
int nX,
int nY)
for isosurface FUNCTIONXY
|
float[][][] |
functionXYZ(String functionName,
int nX,
int nY,
int nZ)
for isosurface FUNCTIONXYZ
|
Map<String,Object> |
getRegistryInfo() |
void |
notifyCallback(EnumCallback type,
Object[] data) |
boolean |
notifyEnabled(EnumCallback type) |
private void |
notifyScriptTermination() |
private String |
notifySync(String info,
String appletName) |
private void |
output(String s) |
void |
resizeInnerPanel(String data) |
private String |
sendScript(String script,
String appletName,
boolean isSync,
boolean doCallback) |
void |
setCallbackFunction(String callbackName,
String callbackFunction) |
private void |
showStatus(String message) |
void |
showUrl(String urlString) |
public Map<String,Object> getRegistryInfo()
getRegistryInfo
in interface JmolStatusListener
public void resizeInnerPanel(String data)
resizeInnerPanel
in interface JmolStatusListener
public boolean notifyEnabled(EnumCallback type)
notifyEnabled
in interface JmolCallbackListener
public void notifyCallback(EnumCallback type, Object[] data)
notifyCallback
in interface JmolCallbackListener
private void output(String s)
private void notifyScriptTermination()
public void setCallbackFunction(String callbackName, String callbackFunction)
setCallbackFunction
in interface JmolCallbackListener
public String eval(String strEval)
eval
in interface JmolStatusListener
public String createImage(String fileName, String type, Object text_or_bytes, int quality)
JmolStatusListener
createImage
in interface JmolStatusListener
fileName
- type
- text_or_bytes
- quality
- public float[][] functionXY(String functionName, int nX, int nY)
JmolStatusListener
functionXY
in interface JmolStatusListener
public float[][][] functionXYZ(String functionName, int nX, int nY, int nZ)
JmolStatusListener
functionXYZ
in interface JmolStatusListener
public void showUrl(String urlString)
showUrl
in interface JmolStatusListener
protected void finalize() throws Throwable
private void showStatus(String message)
private void consoleMessage(String message)