Package jspecview.popup
Class JSVGenericPopup
java.lang.Object
org.jmol.popup.GenericPopup
jspecview.popup.JSVGenericPopup
- All Implemented Interfaces:
GenericMenuInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final booleanprotected JSVPanelprotected static final intprotected intprotected JSViewerFields 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 voidappCheckItem(String item, SC newMenu) Opportunity to do something special with an item.protected StringappFixLabel(String label) protected booleanappGetBooleanProperty(String name) appGetMenuAsString(String title) protected voidprotected voidappRunScript(String script) protected booleanappRunSpecialCheckBox(SC item, String basename, String what, boolean TF) protected voidprotected voidappUpdateSpecialCheckBoxValue(SC item, String what, boolean TF) protected StringgetScriptForCallback(SC source, String id, String script) protected StringgetUnknownCheckBoxScriptToRun(SC item, String name, String what, boolean TF) protected voidinitialize(JSViewer viewer, PopupResource bundle, String title) voidvoidjpiShow(int x, int y) voidvoidsetEnabled(boolean allowMenu, boolean zoomEnabled) voidsetSelected(String key, boolean TF) Methods inherited from class org.jmol.popup.GenericPopup
addMenu, addMenuItem, addMenuItems, appCheckSpecialMenu, convertToMegabytes, doMenuCheckBoxCallback, doMenuClickCallback, getEntryIcon, getImageIcon, 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
jpiInitialize
-
Field Details
-
dumpList
protected static final boolean dumpList- See Also:
-
UPDATE_NEVER
protected static final int UPDATE_NEVER- See Also:
-
vwr
-
updateMode
protected int updateMode -
thisJsvp
-
-
Constructor Details
-
JSVGenericPopup
public JSVGenericPopup()
-
-
Method Details
-
initialize
-
jpiDispose
public void jpiDispose()- Specified by:
jpiDisposein interfaceGenericMenuInterface- Overrides:
jpiDisposein classGenericPopup
-
jpiGetMenuAsObject
-
jpiShow
public void jpiShow(int x, int y) -
jpiUpdateComputedMenus
public void jpiUpdateComputedMenus() -
appCheckItem
Description copied from class:GenericPopupOpportunity to do something special with an item.- Overrides:
appCheckItemin classGenericPopup- Parameters:
item-newMenu-
-
appFixLabel
- Specified by:
appFixLabelin classGenericPopup
-
getScriptForCallback
- Specified by:
getScriptForCallbackin classGenericPopup
-
appGetMenuAsString
- Overrides:
appGetMenuAsStringin classGenericPopup- Parameters:
title-- Returns:
- null
-
appGetBooleanProperty
- Specified by:
appGetBooleanPropertyin classGenericPopup
-
appRunSpecialCheckBox
- Specified by:
appRunSpecialCheckBoxin classGenericPopup
-
appRestorePopupMenu
protected void appRestorePopupMenu()- Specified by:
appRestorePopupMenuin classGenericPopup
-
appRunScript
- Specified by:
appRunScriptin classGenericPopup
-
appUpdateForShow
protected void appUpdateForShow()- Specified by:
appUpdateForShowin classGenericPopup
-
appUpdateSpecialCheckBoxValue
- Specified by:
appUpdateSpecialCheckBoxValuein classGenericPopup
-
setEnabled
public void setEnabled(boolean allowMenu, boolean zoomEnabled) -
setSelected
-
getUnknownCheckBoxScriptToRun
- Specified by:
getUnknownCheckBoxScriptToRunin classGenericPopup
-