cage.viewer.jmol
Class JmolMenu

java.lang.Object
  extended by cage.viewer.jmol.JmolMenu

public class JmolMenu
extends java.lang.Object

Factory class to create a JMenuBar for a window controlling a JmolViewer and a JmolPanel.


Method Summary
static javax.swing.JMenuBar getJMenuBar(JmolPanel panel, org.jmol.api.JmolViewer viewer, javax.swing.JFrame target)
          Factory class to create a JMenuBar for a window controlling a JmolViewer and a JmolPanel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJMenuBar

public static javax.swing.JMenuBar getJMenuBar(JmolPanel panel,
                                               org.jmol.api.JmolViewer viewer,
                                               javax.swing.JFrame target)
Factory class to create a JMenuBar for a window controlling a JmolViewer and a JmolPanel.

Parameters:
panel - The JmolPanel to which this menu applies
viewer - The JmolViewer to which this menu applies
target - The JFrame to which this menu will be added.
Returns:
A menu that can be used to configure the JmolViewer.