org.openscience.jmol.app.webexport
Class JmolInstance

java.lang.Object
  extended by org.openscience.jmol.app.webexport.JmolInstance

 class JmolInstance
extends Object


Field Summary
(package private)  int bgColor
           
(package private)  int height
           
(package private)  String javaname
           
(package private)  String name
           
(package private)  String pictFile
           
(package private)  boolean pictIsScratchFile
           
(package private)  String script
           
(package private)  boolean spinOn
           
(package private)  JmolViewer viewer
           
(package private)  BitSet whichWidgets
           
(package private)  int width
           
 
Constructor Summary
private JmolInstance(JmolViewer viewer, String name, int width, int height, int nWidgets)
           
 
Method Summary
(package private)  boolean addWidget(int widgetID)
           
(package private)  boolean delete()
           
(package private)  boolean deleteWidget(int widgetID)
           
static JmolInstance getInstance(JmolViewer viewer, String name, int width, int height, int widgets)
           
(package private)  boolean movepict(String dirpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name

javaname

String javaname

script

String script

width

int width

height

int height

bgColor

int bgColor

spinOn

boolean spinOn

pictFile

String pictFile

whichWidgets

BitSet whichWidgets

pictIsScratchFile

boolean pictIsScratchFile

viewer

JmolViewer viewer
Constructor Detail

JmolInstance

private JmolInstance(JmolViewer viewer,
                     String name,
                     int width,
                     int height,
                     int nWidgets)
Method Detail

getInstance

public static JmolInstance getInstance(JmolViewer viewer,
                                       String name,
                                       int width,
                                       int height,
                                       int widgets)

movepict

boolean movepict(String dirpath)
           throws IOException
Throws:
IOException

delete

boolean delete()
         throws IOException
Throws:
IOException

addWidget

boolean addWidget(int widgetID)

deleteWidget

boolean deleteWidget(int widgetID)