org.jmol.applet
Class Jmol.MyStatusListener
java.lang.Object
org.jmol.applet.Jmol.MyStatusListener
- All Implemented Interfaces:
- JmolStatusListener
- Enclosing class:
- Jmol
class Jmol.MyStatusListener
- extends java.lang.Object
- implements JmolStatusListener
Method Summary |
private void |
clearDefaultConsoleMessage()
|
private void |
consoleMessage(java.lang.String message)
|
java.lang.String |
createImage(java.lang.String fileName,
java.lang.String type,
java.lang.Object text_or_bytes,
int quality)
|
java.lang.String |
dialogAsk(java.lang.String type,
java.lang.String fileName)
|
java.lang.String |
eval(java.lang.String strEval)
|
protected void |
finalize()
|
float[][] |
functionXY(java.lang.String functionName,
int nX,
int nY)
|
java.util.Hashtable |
getRegistryInfo()
|
void |
handlePopupMenu(int x,
int y)
|
void |
notifyCallback(int type,
java.lang.Object[] data)
|
boolean |
notifyEnabled(int type)
|
private void |
notifyScriptTermination()
|
private java.lang.String |
notifySync(java.lang.String info)
|
private java.lang.String |
sendScript(java.lang.String script,
java.lang.String appletName,
boolean isSync,
boolean doCallback)
|
void |
setCallbackFunction(java.lang.String callbackName,
java.lang.String callbackFunction)
|
void |
showConsole(boolean showConsole)
|
private void |
showStatusAndConsole(java.lang.String message,
boolean toConsole)
|
void |
showUrl(java.lang.String urlString)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
haveNotifiedError
private boolean haveNotifiedError
defaultMessage
private java.lang.String defaultMessage
Jmol.MyStatusListener
Jmol.MyStatusListener()
notifyEnabled
public boolean notifyEnabled(int type)
- Specified by:
notifyEnabled
in interface JmolStatusListener
notifyCallback
public void notifyCallback(int type,
java.lang.Object[] data)
- Specified by:
notifyCallback
in interface JmolStatusListener
notifyScriptTermination
private void notifyScriptTermination()
notifySync
private java.lang.String notifySync(java.lang.String info)
setCallbackFunction
public void setCallbackFunction(java.lang.String callbackName,
java.lang.String callbackFunction)
- Specified by:
setCallbackFunction
in interface JmolStatusListener
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
eval
public java.lang.String eval(java.lang.String strEval)
- Specified by:
eval
in interface JmolStatusListener
createImage
public java.lang.String createImage(java.lang.String fileName,
java.lang.String type,
java.lang.Object text_or_bytes,
int quality)
- Specified by:
createImage
in interface JmolStatusListener
- Parameters:
fileName
- type
- text_or_bytes
- quality
-
- Returns:
- null (canceled) or a message starting with OK or an error message
functionXY
public float[][] functionXY(java.lang.String functionName,
int nX,
int nY)
- Specified by:
functionXY
in interface JmolStatusListener
handlePopupMenu
public void handlePopupMenu(int x,
int y)
- Specified by:
handlePopupMenu
in interface JmolStatusListener
showUrl
public void showUrl(java.lang.String urlString)
- Specified by:
showUrl
in interface JmolStatusListener
showStatusAndConsole
private void showStatusAndConsole(java.lang.String message,
boolean toConsole)
clearDefaultConsoleMessage
private void clearDefaultConsoleMessage()
consoleMessage
private void consoleMessage(java.lang.String message)
showConsole
public void showConsole(boolean showConsole)
- Specified by:
showConsole
in interface JmolStatusListener
sendScript
private java.lang.String sendScript(java.lang.String script,
java.lang.String appletName,
boolean isSync,
boolean doCallback)
getRegistryInfo
public java.util.Hashtable getRegistryInfo()
- Specified by:
getRegistryInfo
in interface JmolStatusListener
dialogAsk
public java.lang.String dialogAsk(java.lang.String type,
java.lang.String fileName)
- Specified by:
dialogAsk
in interface JmolStatusListener