org.jmol.popup
Class JmolPopup

java.lang.Object
  extended by org.jmol.popup.JmolPopup
Direct Known Subclasses:
JmolPopupAwt, JmolPopupSwing

public abstract class JmolPopup
extends java.lang.Object

This class changes the state of the JmolPopup according to the restrictedMode variable of the MembraneEditor. In restrictedMode, the PopupResourceBundleRestricted is loaded, otherwise the PopupResourceBundle of the original JmolRelease is loaded.


Method Summary
static JmolPopup newJmolPopup(JmolViewer viewer)
           
static JmolPopup newJmolPopup(JmolViewer viewer, boolean restricted)
          This method is used by the MembraneEditor in order to set the restrictedMode.
abstract  void show(int x, int y)
           
 void updateComputedMenus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newJmolPopup

public static JmolPopup newJmolPopup(JmolViewer viewer)

newJmolPopup

public static JmolPopup newJmolPopup(JmolViewer viewer,
                                     boolean restricted)
This method is used by the MembraneEditor in order to set the restrictedMode.

Parameters:
viewer - JmolViewer
restricted - boolean
Returns:
JmolPopupSwing/AWT

updateComputedMenus

public void updateComputedMenus()

show

public abstract void show(int x,
                          int y)