Package org.jmol.awtjs.swing
Class JMenu
- All Implemented Interfaces:
SC
-
Field Summary
Fields inherited from class org.jmol.awtjs.swing.JMenuItem
btnType, TYPE_BUTTON, TYPE_CHECKBOX, TYPE_MENU, TYPE_RADIO, TYPE_SEPARATORFields inherited from class org.jmol.awtjs.swing.AbstractButton
applet, htmlName, itemListener, selectedFields inherited from class org.jmol.awtjs.swing.JComponent
actionCommand, actionListener, autoScrollsFields inherited from class org.jmol.awtjs.swing.Component
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jmol.awtjs.swing.JMenuItem
getHtmlDisabledMethods inherited from class org.jmol.awtjs.swing.AbstractButton
add, addItemListener, getIcon, getMenuHTML, getTopPopupMenu, htmlMenuOpener, init, insert, isSelected, setIcon, setSelectedMethods inherited from class org.jmol.awtjs.swing.JComponent
addActionListener, getActionCommand, setActionCommand, setAutoscrollsMethods inherited from class org.jmol.awtjs.swing.Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAllMethods inherited from class org.jmol.awtjs.swing.Component
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, repaint, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jmol.api.SC
addActionListener, addMouseListener, getActionCommand, getComponent, getComponentCount, getComponents, getName, getParent, getText, isEnabled, remove, removeAll, setActionCommand, setAutoscrolls, setEnabled, setName, setText
-
Constructor Details
-
JMenu
public JMenu()
-
-
Method Details
-
getItemCount
public int getItemCount() -
getItem
-
getPopupMenu
- Specified by:
getPopupMenuin interfaceSC- Overrides:
getPopupMenuin classAbstractButton
-
toHTML
-