jmolOutsideApplicationTest
Class Integration2
java.lang.Object
jmolOutsideApplicationTest.Integration2
public class Integration2
- extends java.lang.Object
A example of integrating the Jmol viewer into a java application.
I compiled/ran this code directly in the examples directory by doing:
javac -classpath ../Jmol.jar Integration.java
java -cp .:../Jmol.jar Integration
- Author:
- Miguel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Integration2
public Integration2()
main
public static void main(java.lang.String[] argv)
notifyFileLoaded
public void notifyFileLoaded(java.lang.String fullPathName,
java.lang.String fileName,
java.lang.String modelName,
java.lang.Object clientFile,
java.lang.String errorMessage)
setStatusMessage
public void setStatusMessage(java.lang.String statusMessage)
scriptEcho
public void scriptEcho(java.lang.String strEcho)
scriptStatus
public void scriptStatus(java.lang.String strStatus)
notifyScriptTermination
public void notifyScriptTermination(java.lang.String statusMessage,
int msWalltime)
handlePopupMenu
public void handlePopupMenu(int x,
int y)
notifyMeasurementsChanged
public void notifyMeasurementsChanged()
notifyFrameChanged
public void notifyFrameChanged(int frameNo)
notifyAtomPicked
public void notifyAtomPicked(int atomIndex,
java.lang.String strInfo)
showUrl
public void showUrl(java.lang.String url)
showConsole
public void showConsole(boolean showConsole)