Package org.jmol.awtjs2d
Class JSJmolPopup
- java.lang.Object
-
- org.jmol.popup.GenericPopup
-
- org.jmol.popup.JmolGenericPopup
-
- org.jmol.popup.JmolPopup
-
- org.jmol.awtjs2d.JSJmolPopup
-
- All Implemented Interfaces:
GenericMenuInterface
public class JSJmolPopup extends JmolPopup
-
-
Field Summary
-
Fields inherited from class org.jmol.popup.JmolPopup
UPDATE_NEVER, updateMode
-
Fields inherited from class org.jmol.popup.JmolGenericPopup
frankPopup, menuText, nFrankList, vwr
-
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 Constructor Description JSJmolPopup()
The main popup window for the applet -- as JavaScript
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getImageIcon(String fileName)
protected String
getUnknownCheckBoxScriptToRun(SC item, String name, String what, boolean TF)
void
menuFocusCallback(String name, String actionCommand, boolean b)
void
menuShowPopup(SC popup, int x, int y)
-
Methods inherited from class org.jmol.popup.JmolPopup
appCheckItem, appCheckSpecialMenu, appGetMenuAsString, appRestorePopupMenu, appUpdateForShow, appUpdateSpecialCheckBoxValue, getBundle, getScriptForCallback, getSpecialLabel, jpiDispose, jpiUpdateComputedMenus, showFrankMenu
-
Methods inherited from class org.jmol.popup.JmolGenericPopup
appFixLabel, appGetBooleanProperty, appRunScript, appRunSpecialCheckBox, initialize, jpiGetMenuAsObject, jpiInitialize, jpiShow
-
Methods inherited from class org.jmol.popup.GenericPopup
addMenuItem, addMenuItems, convertToMegabytes, doMenuCheckBoxCallback, doMenuClickCallback, getEntryIcon, initSwing, jpiGetMenuAsString, menuAddSeparator, menuAddSubMenu, menuCheckBoxCallback, menuClickCallback, menuCreateCheckboxItem, menuCreateItem, menuEnable, menuGetId, menuGetListPosition, menuNewSubMenu, menuRemoveAll, menuSetAutoscrolls, menuSetLabel, setText, show, updateButton, updateSignedAppletItems
-
-
-
-
Method Detail
-
menuShowPopup
public void menuShowPopup(SC popup, int x, int y)
- Specified by:
menuShowPopup
in classGenericPopup
-
getUnknownCheckBoxScriptToRun
protected String getUnknownCheckBoxScriptToRun(SC item, String name, String what, boolean TF)
- Specified by:
getUnknownCheckBoxScriptToRun
in classGenericPopup
-
getImageIcon
protected Object getImageIcon(String fileName)
- Specified by:
getImageIcon
in classGenericPopup
-
menuFocusCallback
public void menuFocusCallback(String name, String actionCommand, boolean b)
- Specified by:
menuFocusCallback
in classGenericPopup
-
-