Package org.jmol.awtjs.swing
Class JComboBox<T>
- 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.JComboBox<T>
-
- All Implemented Interfaces:
SC
public class JComboBox<T> extends AbstractButton
-
-
Field Summary
Fields Modifier and Type Field Description private String[]
info
private int
selectedIndex
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSelectedIndex()
Object
getSelectedItem()
void
setSelectedIndex(int i)
String
toHTML()
-
Methods inherited from class org.jmol.awtjs.swing.AbstractButton
add, addItemListener, getHtmlDisabled, 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
-
-