org.jmol.popup
Class JmolPopup
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
- JmolViewerrestricted
- boolean
- Returns:
- JmolPopupSwing/AWT
updateComputedMenus
public void updateComputedMenus()
show
public abstract void show(int x,
int y)