Class ProteinStructurePanel.JmolPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
eu.isas.peptideshaker.gui.tabpanels.ProteinStructurePanel.JmolPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
ProteinStructurePanel

public class ProteinStructurePanel.JmolPanel extends JPanel
A simple class for displaying a Jmol viewer in a JPanel.
See Also:
  • Method Details

    • getViewer

      public org.jmol.api.JmolViewer getViewer()
      Returns the JmolViewer.
      Returns:
      the JmolViewer
    • executeCmd

      public void executeCmd(String rasmolScript)
      Executes the given command line on the Jmol instance.
      Parameters:
      rasmolScript - the command line to execute
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent