Class GuiWrapper
java.lang.Object
org.biojava.nbio.structure.align.ce.GuiWrapper
A class to wrap some of the strucutre.gui classes using Reflection
- Author:
- Andreas Prlic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectstatic StructuregetAlignedStructure(Atom[] ca1, Atom[] ca2) static Atom[]static JPanelstatic booleanstatic Group[]prepareGroupsForDisplay(AFPChain afpChain, Atom[] ca1, Atom[] ca2) static voidstatic voidshowAlignmentImage(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Object jmol) static voidshowDBResults(StartupParameters params) static voidshowStructure(Structure structure) Shows a structure in Jmol
-
Constructor Details
-
GuiWrapper
public GuiWrapper()
-
-
Method Details
-
isGuiModuleInstalled
public static boolean isGuiModuleInstalled() -
display
public static Object display(AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
showAlignmentImage
public static void showAlignmentImage(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Object jmol) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
showStructure
public static void showStructure(Structure structure) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException Shows a structure in Jmol -
showAlignmentGUI
public static void showAlignmentGUI() throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
getAlignedStructure
public static Structure getAlignedStructure(Atom[] ca1, Atom[] ca2) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
getScaleableMatrixPanel
public static JPanel getScaleableMatrixPanel(Matrix m) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException -
prepareGroupsForDisplay
public static Group[] prepareGroupsForDisplay(AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException - Parameters:
afpChain-ca1-ca2-- Returns:
- Throws:
ClassNotFoundException- If an error occurs when invoking jmolNoSuchMethodException- If an error occurs when invoking jmolInvocationTargetException- If an error occurs when invoking jmolIllegalAccessException- If an error occurs when invoking jmol
-
getAtomArray
public static Atom[] getAtomArray(Atom[] ca, List<Group> hetatoms, List<Group> nucs) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
showDBResults
- Since:
- 3.0.5
-