All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Printable, Serializable, EventListener, Accessible

public class JmolPanel extends JPrintPanel implements ActionListener
See Also:
  • Constructor Details

    • JmolPanel

      public JmolPanel()
  • Method Details

    • paint

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

      public void evalString(String rasmolScript)
    • openStringInline

      public void openStringInline(String pdbFile)
    • getViewer

      public org.jmol.api.JmolViewer getViewer()
    • getAdapter

      public org.jmol.api.JmolAdapter getAdapter()
    • getStatusListener

      public org.jmol.api.JmolStatusListener getStatusListener()
    • executeCmd

      public void executeCmd(String rasmolScript)
    • setStructure

      public void setStructure(Structure s)
    • jmolColorByChain

      public void jmolColorByChain()
      assign a custom color to the Jmol chains command.
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      The user selected one of the Combo boxes...
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JPrintPanel
      Parameters:
      event - an ActionEvent
    • rotateJmol

      public void rotateJmol(Matrix jmolRotation)
    • destroy

      public void destroy()
      Clean up this instance for garbage collection, to avoid memory leaks...