Class JSPopupHelper
java.lang.Object
org.jmol.awtjs2d.JSPopupHelper
- All Implemented Interfaces:
PopupHelper
For menus, popup-related awt/swing class references are in this file.
We can ignore all the event/listener references because JSmol will create a
simple object with just the elements getSource and getActionCommand.
No need to have the entire classes fleshed out.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetCheckBox(String name) intgetItemType(SC m) getMenuItem(String text) getSwingComponent(Object component) voidvoidvoidmenuAddButtonGroup(SC item) voidmenuClearListeners(SC menu) menuCreatePopup(String name, Object applet) voidmenuInsertSubMenu(SC menu, SC subMenu, int index) voidvoid
-
Constructor Details
-
JSPopupHelper
-
-
Method Details
-
getMenu
- Specified by:
getMenuin interfacePopupHelper
-
getMenuItem
- Specified by:
getMenuItemin interfacePopupHelper
-
getRadio
- Specified by:
getRadioin interfacePopupHelper
-
getCheckBox
- Specified by:
getCheckBoxin interfacePopupHelper
-
getItemType
- Specified by:
getItemTypein interfacePopupHelper
-
getSwingComponent
- Specified by:
getSwingComponentin interfacePopupHelper
-
itemStateChanged
-
actionPerformed
-
getButtonGroup
- Specified by:
getButtonGroupin interfacePopupHelper
-
handleEvent
-
mouseEntered
-
mouseExited
-
dispose
- Specified by:
disposein interfacePopupHelper