From: Michael T H. <mic...@us...> - 2003-11-25 10:43:04
|
Update of /cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer In directory sc8-pr-cvs1:/tmp/cvs-serv21833/src/org/openscience/jmol/viewer Modified Files: JmolConstants.java JmolViewer.java Log Message: spin infrastructure Index: JmolConstants.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer/JmolConstants.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- JmolConstants.java 23 Nov 2003 21:33:43 -0000 1.14 +++ JmolConstants.java 25 Nov 2003 09:03:54 -0000 1.15 @@ -28,7 +28,7 @@ // for now, just update this by hand // perhaps use ant filter later ... but mth doesn't like it :-( - public static String version="10pre3"; + public static String version="10pre3.1"; public final static String copyright="(C) 2003 The Jmol Development Team"; public final static byte LABEL_NONE = 0; Index: JmolViewer.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer/JmolViewer.java,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- JmolViewer.java 23 Nov 2003 16:05:31 -0000 1.69 +++ JmolViewer.java 25 Nov 2003 09:03:54 -0000 1.70 @@ -1610,6 +1610,44 @@ styleManager.setRasmolDefaults(); } + public void setSpinX(int value) { + styleManager.setSpinX(value); + } + public int getSpinX() { + return styleManager.spinX; + } + + public void setSpinY(int value) { + styleManager.setSpinY(value); + } + public int getSpinY() { + return styleManager.spinY; + } + + + public void setSpinZ(int value) { + styleManager.setSpinZ(value); + } + public int getSpinZ() { + return styleManager.spinZ; + } + + + public void setSpinFps(int value) { + styleManager.setSpinFps(value); + } + public int getSpinFps() { + return styleManager.spinFps; + } + + public void setSpinOn(boolean spinOn) { + styleManager.setSpinOn(spinOn); + } + public boolean getSpinOn() { + return styleManager.spinOn; + } + + /**************************************************************** * delegated to LabelManager ****************************************************************/ |