org.biojava.spice.jmol
Class JmolSpiceTranslator

java.lang.Object
  extended byorg.biojava.spice.jmol.JmolSpiceTranslator

public class JmolSpiceTranslator
extends Object


Constructor Summary
JmolSpiceTranslator()
           
 
Method Summary
 void addPDBSequenceListener(SequenceListener li)
           
 void clearListeners()
           
 void createImage(String file, String type, int quality)
           
 String eval(String strEval)
           
 float[][] functionXY(String functionName, int x, int y)
           
 void handlePopupMenu(int x, int y)
           
 void newObjectRequested(String accessionCode)
           
 void newStructure(StructureEvent event)
           
 void noObjectFound(String accessionCode)
           
 void notifyAtomHovered(int atomIndex, String strInfo)
           
 void notifyAtomPicked(int atomIndex, String strInfo)
           
 void notifyFileLoaded(String fullPathName, String fileName, String modelName, Object clientFile, String errorMessage)
           
 void notifyFileNotLoaded(String fullPathName, String errorMsg)
           
 void notifyFrameChanged(int frameNo)
           
 void notifyFrameChanged(int frameNo, int fileNo, int modelNo, int firstNo, int LastNo)
           
 void notifyMeasurementsChanged()
           
 void notifyNewDefaultModeMeasurement(int count, String strInfo)
           
 void notifyNewPickingModeMeasurement(int iatom, String strMeasure)
           
 void notifyResized(int newWidth, int newHeight)
           
 void notifyScriptStart(String statusMessage, String additionalInfo)
           
 void notifyScriptTermination(String statusMessage, int msWalltime)
           
 void scriptEcho(String strEcho)
           
 void scriptStatus(String strStatus)
           
 void selectedChain(StructureEvent event)
           
 void sendConsoleEcho(String strEcho)
           
 void sendConsoleMessage(String strStatus)
           
 void sendSyncScript(String script, String appletName)
           
 void setCallbackFunction(String callbackType, String callbackFunction)
           
 void setJmolPopup(JmolPopup popup)
           
 void setJmolViewer(JmolViewer viewer)
           
 void setStatusMessage(String statusMessage)
           
 void showConsole(boolean showConsole)
           
 void showUrl(String urlString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmolSpiceTranslator

public JmolSpiceTranslator()
Method Detail

setJmolViewer

public void setJmolViewer(JmolViewer viewer)

setJmolPopup

public void setJmolPopup(JmolPopup popup)

notifyFileLoaded

public void notifyFileLoaded(String fullPathName,
                             String fileName,
                             String modelName,
                             Object clientFile,
                             String errorMessage)

notifyFileNotLoaded

public void notifyFileNotLoaded(String fullPathName,
                                String errorMsg)

setStatusMessage

public void setStatusMessage(String statusMessage)

scriptEcho

public void scriptEcho(String strEcho)

scriptStatus

public void scriptStatus(String strStatus)

notifyScriptTermination

public void notifyScriptTermination(String statusMessage,
                                    int msWalltime)

showUrl

public void showUrl(String urlString)

showConsole

public void showConsole(boolean showConsole)

handlePopupMenu

public void handlePopupMenu(int x,
                            int y)

notifyAtomPicked

public void notifyAtomPicked(int atomIndex,
                             String strInfo)

notifyMeasurementsChanged

public void notifyMeasurementsChanged()

notifyFrameChanged

public void notifyFrameChanged(int frameNo)

newStructure

public void newStructure(StructureEvent event)

selectedChain

public void selectedChain(StructureEvent event)

newObjectRequested

public void newObjectRequested(String accessionCode)

noObjectFound

public void noObjectFound(String accessionCode)

addPDBSequenceListener

public void addPDBSequenceListener(SequenceListener li)

clearListeners

public void clearListeners()

notifyNewDefaultModeMeasurement

public void notifyNewDefaultModeMeasurement(int count,
                                            String strInfo)

notifyNewPickingModeMeasurement

public void notifyNewPickingModeMeasurement(int iatom,
                                            String strMeasure)

notifyScriptStart

public void notifyScriptStart(String statusMessage,
                              String additionalInfo)

sendConsoleEcho

public void sendConsoleEcho(String strEcho)

sendConsoleMessage

public void sendConsoleMessage(String strStatus)

sendSyncScript

public void sendSyncScript(String script,
                           String appletName)

notifyAtomHovered

public void notifyAtomHovered(int atomIndex,
                              String strInfo)

setCallbackFunction

public void setCallbackFunction(String callbackType,
                                String callbackFunction)

createImage

public void createImage(String file,
                        String type,
                        int quality)

eval

public String eval(String strEval)

notifyFrameChanged

public void notifyFrameChanged(int frameNo,
                               int fileNo,
                               int modelNo,
                               int firstNo,
                               int LastNo)

notifyResized

public void notifyResized(int newWidth,
                          int newHeight)

functionXY

public float[][] functionXY(String functionName,
                            int x,
                            int y)