Class JmolInstance
- java.lang.Object
-
- org.openscience.jmol.app.webexport.JmolInstance
-
class JmolInstance extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intbgColor(package private) intheight(package private) Stringjavaname(package private) Stringname(package private) StringpictFile(package private) booleanpictIsScratchFile(package private) Stringscript(package private) booleanspinOn(package private) JmolViewervwr(package private) javajs.util.BSwhichWidgets(package private) intwidth
-
Constructor Summary
Constructors Modifier Constructor Description privateJmolInstance(JmolViewer vwr, String name, int width, int height, int nWidgets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanaddWidget(int widgetID)(package private) booleandelete()(package private) booleandeleteWidget(int widgetID)static JmolInstancegetInstance(JmolViewer vwr, String name, int width, int height, int widgets)(package private) booleanmovepict(String dirpath)
-
-
-
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
javajs.util.BS whichWidgets
-
pictIsScratchFile
boolean pictIsScratchFile
-
vwr
JmolViewer vwr
-
-
Constructor Detail
-
JmolInstance
private JmolInstance(JmolViewer vwr, String name, int width, int height, int nWidgets)
-
-
Method Detail
-
getInstance
public static JmolInstance getInstance(JmolViewer vwr, 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)
-
-