Class JmolPopup
java.lang.Object
org.jmol.popup.GenericPopup
org.jmol.popup.JmolGenericPopup
org.jmol.popup.JmolPopup
- All Implemented Interfaces:
GenericMenuInterface
- Direct Known Subclasses:
AwtJmolPopup, JSJmolPopup
An abstract popup class that is
instantiated for a given platform and
context as one of:
-- abstract JmolPopup
-- AwtJmolPopup
-- JSJmolPopup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected static final intprotected static final intprotected static final intprotected static final intprotected intFields inherited from class JmolGenericPopup
frankPopup, menuText, nFrankList, vwrFields inherited from class 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 voidappCheckItem(String item, SC newMenu) Opportunity to do something special with an item.voidappCheckSpecialMenu(String item, SC subMenu, String word) Opportunity to do something special with a given submenu is createdprotected StringappGetMenuAsString(String title) protected voidprotected voidprotected voidappUpdateSpecialCheckBoxValue(SC item, String what, boolean TF) (1) setOption --> set setOption true or set setOption falseprotected PopupResourceprotected StringgetScriptForCallback(SC source, String id, String script) protected StringgetSpecialLabel(String name, String text) menus or menu items with SPECIAL in their name are sent here for on-the-fly labelingvoidvoidprotected booleanprotected voidprotected voidprotected voidupdateElementsComputedMenu(BS elementsPresentBitSet) protected voidprotected voidprotected voidprotected voidupdateHeteroComputedMenu(Map<String, String> htHetero) protected voidprotected void////// protected methods //////////protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidupdateSurfMoComputedMenu(Map<String, Object> moData) protected voidprotected voidprotected voidMethods inherited from class JmolGenericPopup
appFixLabel, appGetBooleanProperty, appRunScript, appRunSpecialCheckBox, initialize, jpiGetMenuAsObject, jpiInitialize, jpiShowMethods inherited from class GenericPopup
addMenu, addMenuItem, addMenuItems, convertToMegabytes, doMenuCheckBoxCallback, doMenuClickCallback, getEntryIcon, getImageIcon, getUnknownCheckBoxScriptToRun, initSwing, jpiGetMenuAsString, menuAddSeparator, menuAddSubMenu, menuCheckBoxCallback, menuClickCallback, menuCreateCheckboxItem, menuCreateItem, menuEnable, menuFocusCallback, menuGetId, menuGetListPosition, menuNewSubMenu, menuRemoveAll, menuSetAutoscrolls, menuSetLabel, menuShowPopup, setText, show, updateButton, updateSignedAppletItems
-
Field Details
-
UPDATE_NEVER
protected static final int UPDATE_NEVER- See Also:
-
UPDATE_ALL
protected static final int UPDATE_ALL- See Also:
-
UPDATE_CONFIG
protected static final int UPDATE_CONFIG- See Also:
-
UPDATE_SHOW
protected static final int UPDATE_SHOW- See Also:
-
updateMode
protected int updateMode -
modelInfo
-
Special
-
modelIndex
protected int modelIndex
-
-
Constructor Details
-
JmolPopup
public JmolPopup()
-
-
Method Details
-
jpiDispose
public void jpiDispose()- Specified by:
jpiDisposein interfaceGenericMenuInterface- Overrides:
jpiDisposein classJmolGenericPopup
-
getBundle
- Specified by:
getBundlein classJmolGenericPopup
-
showFrankMenu
protected boolean showFrankMenu()- Overrides:
showFrankMenuin classJmolGenericPopup
-
jpiUpdateComputedMenus
public void jpiUpdateComputedMenus() -
updateMenus
protected void updateMenus()////// protected methods ////////// -
appCheckItem
Description copied from class:GenericPopupOpportunity to do something special with an item.- Overrides:
appCheckItemin classGenericPopup- Parameters:
item-newMenu-
-
appGetMenuAsString
- Overrides:
appGetMenuAsStringin classGenericPopup- Parameters:
title-- Returns:
- null
-
getScriptForCallback
- Specified by:
getScriptForCallbackin classGenericPopup
-
appRestorePopupMenu
protected void appRestorePopupMenu()- Overrides:
appRestorePopupMenuin classJmolGenericPopup
-
appUpdateSpecialCheckBoxValue
(1) setOption --> set setOption true or set setOption false- Specified by:
appUpdateSpecialCheckBoxValuein classGenericPopup- Parameters:
item-what- option to setTF- true or false
-
appCheckSpecialMenu
Description copied from class:GenericPopupOpportunity to do something special with a given submenu is created- Overrides:
appCheckSpecialMenuin classGenericPopup- Parameters:
item-subMenu-word-
-
appUpdateForShow
protected void appUpdateForShow()- Specified by:
appUpdateForShowin classGenericPopup
-
updateFileMenu
protected void updateFileMenu() -
updateSelectMenu
protected void updateSelectMenu() -
updateElementsComputedMenu
-
updateSpectraMenu
protected void updateSpectraMenu() -
updateHeteroComputedMenu
-
updateSurfMoComputedMenu
-
updateFileTypeDependentMenus
protected void updateFileTypeDependentMenus() -
updateSceneComputedMenu
protected void updateSceneComputedMenu() -
updatePDBResidueComputedMenus
protected void updatePDBResidueComputedMenus() -
updateSYMMETRYComputedMenus
protected void updateSYMMETRYComputedMenus() -
updateSYMMETRYShowComputedMenu
protected void updateSYMMETRYShowComputedMenu() -
updateSYMMETRYSelectComputedMenu
protected void updateSYMMETRYSelectComputedMenu() -
updateFRAMESbyModelComputedMenu
protected void updateFRAMESbyModelComputedMenu() -
updateConfigurationComputedMenu
protected void updateConfigurationComputedMenu() -
updateModelSetComputedMenu
protected void updateModelSetComputedMenu() -
updateSpecialMenuItem
-
getSpecialLabel
-