Package org.biojava.nbio.structure.gui
Class BiojavaJmol
- java.lang.Object
-
- org.biojava.nbio.structure.gui.BiojavaJmol
-
public class BiojavaJmol extends java.lang.Object
A class that provides a simple GUI for Jmol- Since:
- 1.6
- Author:
- Andreas Prlic
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
adapter
static java.lang.String
smartAdapter
static java.lang.String
viewer
-
Constructor Summary
Constructors Constructor Description BiojavaJmol()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evalString(java.lang.String rasmolScript)
javax.swing.JFrame
getFrame()
static boolean
jmolInClassPath()
returns true if Jmol can be found in the classpath, otherwise false.static void
main(java.lang.String[] args)
void
setStructure(Structure s)
void
setTitle(java.lang.String label)
-
-
-
Field Detail
-
viewer
public static final java.lang.String viewer
- See Also:
- Constant Field Values
-
adapter
public static final java.lang.String adapter
- See Also:
- Constant Field Values
-
smartAdapter
public static final java.lang.String smartAdapter
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
jmolInClassPath
public static boolean jmolInClassPath()
returns true if Jmol can be found in the classpath, otherwise false.- Returns:
- true/false depending if Jmol can be found
-
evalString
public void evalString(java.lang.String rasmolScript)
-
setStructure
public void setStructure(Structure s)
-
setTitle
public void setTitle(java.lang.String label)
-
getFrame
public javax.swing.JFrame getFrame()
-
-