Class AbstractAlignmentJmol

    • Constructor Detail

      • AbstractAlignmentJmol

        public AbstractAlignmentJmol()
    • Method Detail

      • initCoords

        protected abstract void initCoords()
        Display the structures after the variable initialization in the constructor.
      • destroy

        public void destroy()
        Set all the member variables to null.
      • resetDisplay

        public abstract void resetDisplay()
        Return to the initial state of the alignment visualization.
      • setAtoms

        public void setAtoms​(Atom[] atoms)
        Create and set a new structure from a given atom array.
        Parameters:
        atoms -
      • getColorPalette

        public org.jcolorbrewer.ColorBrewer getColorPalette()
        Return the color pattelete of the AlignmentJmol instance.
      • getJmolPanel

        public JmolPanel getJmolPanel()
        Return the jmolPanel instance of the AlignmentJmol.
      • setJmolPanel

        public void setJmolPanel​(JmolPanel jmolPanel)
        Set the jmolPanel of the AlignmentJmol instance.
        Parameters:
        jmolPanel -
      • evalString

        public void evalString​(String rasmolScript)
        Execute a command String in the current Jmol panel.
        Parameters:
        rasmolScript -
      • setStructure

        public void setStructure​(Structure s)
        Set a new Structure to visualize in the AlignmentJmol window.
        Parameters:
        s -
      • getStructure

        public Structure getStructure()
        Return the current Structure in the AlignmentJmol instance.
      • getDistanceMatrices

        public abstract List<Matrix> getDistanceMatrices()
        Returns a List of internal Distance Matrices, one for each structure in the alignment. Returns null if no alignment is being displayed.
      • setTitle

        public void setTitle​(String title)
        Set the title of the AlignmentJmol window.
        Parameters:
        label -
      • getTitle

        public String getTitle()
        Return the title of the AlignmentJmol window.