Package org.jmol.awtjs.swing
Class JMenuItem
java.lang.Object
org.jmol.awtjs.swing.Component
org.jmol.awtjs.swing.Container
org.jmol.awtjs.swing.JComponent
org.jmol.awtjs.swing.AbstractButton
org.jmol.awtjs.swing.JMenuItem
- All Implemented Interfaces:
SC
- Direct Known Subclasses:
JCheckBoxMenuItem
,JMenu
,JRadioButtonMenuItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
static final int
static final int
static final int
static final int
static final int
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.AbstractButton
add, addItemListener, getIcon, getMenuHTML, getPopupMenu, 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
-
Field Details
-
btnType
public final int btnType -
TYPE_SEPARATOR
public static final int TYPE_SEPARATOR- See Also:
-
TYPE_BUTTON
public static final int TYPE_BUTTON- See Also:
-
TYPE_CHECKBOX
public static final int TYPE_CHECKBOX- See Also:
-
TYPE_RADIO
public static final int TYPE_RADIO- See Also:
-
TYPE_MENU
public static final int TYPE_MENU- See Also:
-
-
Constructor Details
-
JMenuItem
-
JMenuItem
-
-
Method Details
-
toHTML
-
getHtmlDisabled
- Overrides:
getHtmlDisabled
in classAbstractButton
-
htmlLabel
-