org.jmol.applet

Class Jmol.MyStatusListener

class Jmol.MyStatusListener extends Object implements JmolStatusListener

Field Summary
StringdefaultMessage
booleanhaveNotifiedError
Method Summary
voidclearDefaultConsoleMessage()
voidconsoleMessage(String message)
StringcreateImage(String fileName, String type, Object text_or_bytes, int quality)
StringdialogAsk(String type, String fileName)
Stringeval(String strEval)
protected voidfinalize()
float[][]functionXY(String functionName, int nX, int nY)
HashtablegetRegistryInfo()
voidhandlePopupMenu(int x, int y)
voidnotifyCallback(int type, Object[] data)
booleannotifyEnabled(int type)
voidnotifyScriptTermination()
StringnotifySync(String info)
StringsendScript(String script, String appletName, boolean isSync, boolean doCallback)
voidsetCallbackFunction(String callbackName, String callbackFunction)
voidshowConsole(boolean showConsole)
voidshowStatusAndConsole(String message, boolean toConsole)
voidshowUrl(String urlString)

Field Detail

defaultMessage

private String defaultMessage

haveNotifiedError

private boolean haveNotifiedError

Method Detail

clearDefaultConsoleMessage

private void clearDefaultConsoleMessage()

consoleMessage

private void consoleMessage(String message)

createImage

public String createImage(String fileName, String type, Object text_or_bytes, int quality)

Parameters: fileName type text_or_bytes quality

Returns: null (canceled) or a message starting with OK or an error message

dialogAsk

public String dialogAsk(String type, String fileName)

eval

public String eval(String strEval)

finalize

protected void finalize()

functionXY

public float[][] functionXY(String functionName, int nX, int nY)

getRegistryInfo

public Hashtable getRegistryInfo()

handlePopupMenu

public void handlePopupMenu(int x, int y)

notifyCallback

public void notifyCallback(int type, Object[] data)

notifyEnabled

public boolean notifyEnabled(int type)

notifyScriptTermination

private void notifyScriptTermination()

notifySync

private String notifySync(String info)

sendScript

private String sendScript(String script, String appletName, boolean isSync, boolean doCallback)

setCallbackFunction

public void setCallbackFunction(String callbackName, String callbackFunction)

showConsole

public void showConsole(boolean showConsole)

showStatusAndConsole

private void showStatusAndConsole(String message, boolean toConsole)

showUrl

public void showUrl(String urlString)