org.openscience.jmol.app
Class Jmol.MyStatusListener

java.lang.Object
  extended by org.openscience.jmol.app.Jmol.MyStatusListener
All Implemented Interfaces:
JmolStatusListener
Enclosing class:
Jmol

 class Jmol.MyStatusListener
extends java.lang.Object
implements JmolStatusListener


Constructor Summary
Jmol.MyStatusListener()
           
 
Method Summary
 java.lang.String createImage(java.lang.String file, 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)
           
 float[][] functionXY(java.lang.String functionName, int nX, int nY)
           
 java.util.Hashtable getRegistryInfo()
           
 void handlePopupMenu(int x, int y)
           
private  void notifyAtomPicked(java.lang.String info)
           
 void notifyCallback(int type, java.lang.Object[] data)
           
 boolean notifyEnabled(int type)
           
private  void notifyFileLoaded(java.lang.String fullPathName, java.lang.String fileName, java.lang.String modelName, java.lang.String errorMsg)
           
private  void notifyFrameChanged(int frameNo, int file, int model)
           
private  void sendConsoleEcho(java.lang.String strEcho)
           
private  void sendConsoleMessage(java.lang.String strStatus)
           
 void setCallbackFunction(java.lang.String callbackType, java.lang.String callbackFunction)
           
 void showConsole(boolean showConsole)
           
 void showUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jmol.MyStatusListener

Jmol.MyStatusListener()
Method Detail

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

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 file,
                                    java.lang.String type,
                                    java.lang.Object text_or_bytes,
                                    int quality)
Specified by:
createImage in interface JmolStatusListener

setCallbackFunction

public void setCallbackFunction(java.lang.String callbackType,
                                java.lang.String callbackFunction)
Specified by:
setCallbackFunction in interface JmolStatusListener

notifyAtomPicked

private void notifyAtomPicked(java.lang.String info)

notifyFileLoaded

private void notifyFileLoaded(java.lang.String fullPathName,
                              java.lang.String fileName,
                              java.lang.String modelName,
                              java.lang.String errorMsg)

notifyFrameChanged

private void notifyFrameChanged(int frameNo,
                                int file,
                                int model)

sendConsoleEcho

private void sendConsoleEcho(java.lang.String strEcho)

sendConsoleMessage

private void sendConsoleMessage(java.lang.String strStatus)

handlePopupMenu

public void handlePopupMenu(int x,
                            int y)
Specified by:
handlePopupMenu in interface JmolStatusListener

showUrl

public void showUrl(java.lang.String url)
Specified by:
showUrl in interface JmolStatusListener

showConsole

public void showConsole(boolean showConsole)
Specified by:
showConsole in interface JmolStatusListener

functionXY

public float[][] functionXY(java.lang.String functionName,
                            int nX,
                            int nY)
Specified by:
functionXY in interface JmolStatusListener

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