Class ModelKitPopup
java.lang.Object
org.jmol.popup.GenericPopup
org.jmol.popup.JmolGenericPopup
org.jmol.modelkit.ModelKitPopup
- All Implemented Interfaces:
GenericMenuInterface
- Direct Known Subclasses:
AwtModelKitPopup, JSModelKitPopup
An abstract popup class that is instantiated for a given platform and context
as one of:
-- abstract ModelKitPopup
-- AwtModelKitPopup
-- JSModelKitPopup
-
Field Summary
FieldsFields 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 booleanappGetBooleanProperty(String name) //////////////// menu execution //////////////protected booleanappRunSpecialCheckBox(SC item, String basename, String script, boolean TF) protected voidprotected voidappUpdateSpecialCheckBoxValue(SC source, String actionCommand, boolean selected) Set the active menu based on updating a value -- usually by the user, but also during setup (ignored).voidprotected voidprotected PopupResource///////////// menu creation and update ///////////////protected StringgetScriptForCallback(SC source, String id, String script) Secondary processing of menu item clickgetUnknownCheckBoxScriptToRun(SC item, String name, String what, boolean TF) voidjpiShow(int x, int y) voidvoidmenuClickCallback(SC source, String script) voidmenuFocusCallback(String name, String actionCommand, boolean gained) //// run time event-driven methodsprotected abstract voidmenuHidePopup(SC popup) setActiveMenu(String name) Set the active menu and request a repaint.protected voidvoidupdateCheckBoxesForModelKit(String menuName) protected voidMethods inherited from class JmolGenericPopup
appFixLabel, appRestorePopupMenu, appRunScript, initialize, jpiDispose, jpiGetMenuAsObject, jpiInitialize, showFrankMenuMethods inherited from class GenericPopup
addMenu, addMenuItem, addMenuItems, appCheckItem, appCheckSpecialMenu, appGetMenuAsString, convertToMegabytes, doMenuCheckBoxCallback, doMenuClickCallback, getEntryIcon, getImageIcon, initSwing, jpiGetMenuAsString, menuAddSeparator, menuAddSubMenu, menuCheckBoxCallback, menuCreateCheckboxItem, menuCreateItem, menuEnable, menuGetId, menuGetListPosition, menuNewSubMenu, menuRemoveAll, menuSetAutoscrolls, menuSetLabel, menuShowPopup, setText, show, updateButton, updateSignedAppletItems
-
Field Details
-
bondRotationCheckBox
-
prevBondCheckBox
-
-
Constructor Details
-
ModelKitPopup
public ModelKitPopup()
-
-
Method Details
-
getBundle
///////////// menu creation and update ///////////////- Specified by:
getBundlein classJmolGenericPopup
-
jpiShow
public void jpiShow(int x, int y) - Specified by:
jpiShowin interfaceGenericMenuInterface- Overrides:
jpiShowin classJmolGenericPopup
-
jpiUpdateComputedMenus
public void jpiUpdateComputedMenus() -
appUpdateForShow
protected void appUpdateForShow()- Specified by:
appUpdateForShowin classGenericPopup
-
clearLastModelSet
public void clearLastModelSet() -
updateOperatorMenu
protected void updateOperatorMenu() -
updateAllXtalMenuOptions
protected void updateAllXtalMenuOptions() -
setActiveMenu
-
appUpdateSpecialCheckBoxValue
Set the active menu based on updating a value -- usually by the user, but also during setup (ignored).- Specified by:
appUpdateSpecialCheckBoxValuein classGenericPopup
-
exitBondRotation
protected void exitBondRotation() -
appGetBooleanProperty
//////////////// menu execution //////////////- Overrides:
appGetBooleanPropertyin classJmolGenericPopup
-
getUnknownCheckBoxScriptToRun
- Specified by:
getUnknownCheckBoxScriptToRunin classGenericPopup
-
getScriptForCallback
Secondary processing of menu item click- Specified by:
getScriptForCallbackin classGenericPopup
-
appRunSpecialCheckBox
- Overrides:
appRunSpecialCheckBoxin classJmolGenericPopup
-
updateCheckBoxesForModelKit