Package org.jmol.awtjs.swing
Class JMenu
- java.lang.Object
-
-
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 Constructor Description JMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Component
getItem(int i)
int
getItemCount()
java.lang.Object
getPopupMenu()
java.lang.String
toHTML()
-
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
-
-
-
-
Method Detail
-
getItemCount
public int getItemCount()
-
getItem
public Component getItem(int i)
-
getPopupMenu
public java.lang.Object getPopupMenu()
- Specified by:
getPopupMenu
in interfaceSC
- Overrides:
getPopupMenu
in classAbstractButton
-
-