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 boolean
protected JSVPanel
protected static final int
protected int
protected JSViewer
Fields 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 void
appCheckItem
(String item, SC newMenu) Opportunity to do something special with an item.protected String
appFixLabel
(String label) protected boolean
appGetBooleanProperty
(String name) appGetMenuAsString
(String title) protected void
protected void
appRunScript
(String script) protected boolean
appRunSpecialCheckBox
(SC item, String basename, String what, boolean TF) protected void
protected void
appUpdateSpecialCheckBoxValue
(SC item, String what, boolean TF) protected String
getScriptForCallback
(SC source, String id, String script) protected String
getUnknownCheckBoxScriptToRun
(SC item, String name, String what, boolean TF) protected void
initialize
(JSViewer viewer, PopupResource bundle, String title) void
void
jpiShow
(int x, int y) void
void
setEnabled
(boolean allowMenu, boolean zoomEnabled) void
setSelected
(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, 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
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:
jpiDispose
in interfaceGenericMenuInterface
- Overrides:
jpiDispose
in classGenericPopup
-
jpiGetMenuAsObject
-
jpiShow
public void jpiShow(int x, int y) -
jpiUpdateComputedMenus
public void jpiUpdateComputedMenus() -
appCheckItem
Description copied from class:GenericPopup
Opportunity to do something special with an item.- Overrides:
appCheckItem
in classGenericPopup
- Parameters:
item
-newMenu
-
-
appFixLabel
- Specified by:
appFixLabel
in classGenericPopup
-
getScriptForCallback
- Specified by:
getScriptForCallback
in classGenericPopup
-
appGetMenuAsString
- Overrides:
appGetMenuAsString
in classGenericPopup
- Parameters:
title
-- Returns:
- null
-
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
-
appUpdateForShow
protected void appUpdateForShow()- Specified by:
appUpdateForShow
in classGenericPopup
-
appUpdateSpecialCheckBoxValue
- Specified by:
appUpdateSpecialCheckBoxValue
in classGenericPopup
-
setEnabled
public void setEnabled(boolean allowMenu, boolean zoomEnabled) -
setSelected
-
getUnknownCheckBoxScriptToRun
- Specified by:
getUnknownCheckBoxScriptToRun
in classGenericPopup
-