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 StringappFixLabel(String label) protected booleanappGetBooleanProperty(String name) protected voidprotected voidappRunScript(String script) protected booleanappRunSpecialCheckBox(SC item, String basename, String script, boolean TF) protected abstract PopupResourceprotected voidinitialize(Viewer vwr, PopupResource bundle, String title) voidvoidjpiInitialize(PlatformViewer vwr, String menu) voidjpiShow(int x, int y) protected booleanMethods 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, updateSignedAppletItemsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
jpiDisposein interfaceGenericMenuInterface- Overrides:
jpiDisposein classGenericPopup
-
jpiGetMenuAsObject
-
appFixLabel
- Specified by:
appFixLabelin classGenericPopup
-
appGetBooleanProperty
- Specified by:
appGetBooleanPropertyin classGenericPopup
-
appRunSpecialCheckBox
- Specified by:
appRunSpecialCheckBoxin classGenericPopup
-
appRestorePopupMenu
protected void appRestorePopupMenu()- Specified by:
appRestorePopupMenuin classGenericPopup
-
appRunScript
- Specified by:
appRunScriptin classGenericPopup
-