Package org.jmol.popup
Class JmolGenericPopup
java.lang.Object
org.jmol.popup.GenericPopup
org.jmol.popup.JmolGenericPopup
- All Implemented Interfaces:
GenericMenuInterface
- Direct Known Subclasses:
JmolPopup
,ModelKitPopup
An abstract popup class that is
instantiated for a given platform and
context as one of:
-- abstract JmolGenericPopup -- abstract JmolPopup -- AwtJmolPopup -- JSJmolPopup -- abstract ModelKitPopup -- AwtModelKitPopup -- JSModelKitPopup
-
Field Summary
FieldsFields inherited from class org.jmol.popup.GenericPopup
allowSignedFeatures, buttonGroup, currentMenuItemId, helper, htCheckbox, htMenus, isApplet, isJS, isSigned, isTainted, isWebGL, menuName, popupMenu, strMenuStructure, thisPopup, thisx, thisy, updatingForShow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
appFixLabel
(String label) protected boolean
appGetBooleanProperty
(String name) protected void
protected void
appRunScript
(String script) protected boolean
appRunSpecialCheckBox
(SC item, String basename, String script, boolean TF) protected abstract PopupResource
protected void
initialize
(Viewer vwr, PopupResource bundle, String title) void
void
jpiInitialize
(PlatformViewer vwr, String menu) void
jpiShow
(int x, int y) protected boolean
Methods inherited from class org.jmol.popup.GenericPopup
addMenu, addMenuItem, addMenuItems, appCheckItem, appCheckSpecialMenu, appGetMenuAsString, appUpdateForShow, appUpdateSpecialCheckBoxValue, convertToMegabytes, doMenuCheckBoxCallback, doMenuClickCallback, getEntryIcon, getImageIcon, getScriptForCallback, getUnknownCheckBoxScriptToRun, initSwing, jpiGetMenuAsString, menuAddSeparator, menuAddSubMenu, menuCheckBoxCallback, menuClickCallback, menuCreateCheckboxItem, menuCreateItem, menuEnable, menuFocusCallback, menuGetId, menuGetListPosition, menuNewSubMenu, menuRemoveAll, menuSetAutoscrolls, menuSetLabel, menuShowPopup, setText, show, updateButton, updateSignedAppletItems
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jmol.api.GenericMenuInterface
jpiUpdateComputedMenus
-
Field Details
-
frankPopup
-
nFrankList
protected int nFrankList -
vwr
-
-
Constructor Details
-
JmolGenericPopup
public JmolGenericPopup()
-
-
Method Details
-
jpiInitialize
-
getBundle
-
initialize
-
jpiShow
public void jpiShow(int x, int y) -
showFrankMenu
protected boolean showFrankMenu() -
jpiDispose
public void jpiDispose()- Specified by:
jpiDispose
in interfaceGenericMenuInterface
- Overrides:
jpiDispose
in classGenericPopup
-
jpiGetMenuAsObject
-
appFixLabel
- Specified by:
appFixLabel
in classGenericPopup
-
appGetBooleanProperty
- Specified by:
appGetBooleanProperty
in classGenericPopup
-
appRunSpecialCheckBox
- Specified by:
appRunSpecialCheckBox
in classGenericPopup
-
appRestorePopupMenu
protected void appRestorePopupMenu()- Specified by:
appRestorePopupMenu
in classGenericPopup
-
appRunScript
- Specified by:
appRunScript
in classGenericPopup
-