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_SEPARATOR
Fields inherited from class org.jmol.awtjs.swing.AbstractButton
applet, htmlName, itemListener, selected
Fields inherited from class org.jmol.awtjs.swing.JComponent
actionCommand, actionListener, autoScrolls
Fields 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
getHtmlDisabled
Methods inherited from class org.jmol.awtjs.swing.AbstractButton
add, addItemListener, getIcon, getMenuHTML, getTopPopupMenu, htmlMenuOpener, init, insert, isSelected, setIcon, setSelected
Methods inherited from class org.jmol.awtjs.swing.JComponent
addActionListener, getActionCommand, setActionCommand, setAutoscrolls
Methods inherited from class org.jmol.awtjs.swing.Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAll
Methods 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, setVisible
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.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:
getPopupMenu
in interfaceSC
- Overrides:
getPopupMenu
in classAbstractButton
-
toHTML
-