Class AbstractButton
java.lang.Object
org.jmol.awtjs.swing.Component
org.jmol.awtjs.swing.Container
org.jmol.awtjs.swing.JComponent
org.jmol.awtjs.swing.AbstractButton
- All Implemented Interfaces:
SC
- Direct Known Subclasses:
JButton, JCheckBox, JComboBox, JMenuItem, JPopupMenu
-
Field Summary
Fields inherited from class JComponent
actionCommand, actionListener, autoScrollsFields inherited from class Component
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddItemListener(Object listener) protected StringgetIcon()protected Stringprotected StringhtmlMenuOpener(String type) voidvoidbooleanvoidvoidsetSelected(boolean selected) Methods inherited from class JComponent
addActionListener, getActionCommand, setActionCommand, setAutoscrollsMethods inherited from class Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAllMethods inherited from class Component
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, repaint, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText, setVisible, toHTMLMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SC
addActionListener, addMouseListener, getActionCommand, getComponent, getComponentCount, getComponents, getName, getParent, getText, isEnabled, remove, removeAll, setActionCommand, setAutoscrolls, setEnabled, setName, setText
-
Constructor Details
-
AbstractButton
-
-
Method Details
-
setSelected
public void setSelected(boolean selected) - Specified by:
setSelectedin interfaceSC
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfaceSC
-
addItemListener
- Specified by:
addItemListenerin interfaceSC
-
getIcon
-
setIcon
-
init
-
getTopPopupMenu
-
add
-
insert
-
getPopupMenu
- Specified by:
getPopupMenuin interfaceSC
-
getMenuHTML
-
htmlMenuOpener
-
getHtmlDisabled
-