Descripción
Sintaxis
@JavaBean(defaultProperty="UI", description="A combination of a text field and a drop-down list.") public class JComboBox<E> extends JComponent implements ItemSelectable, ListDataListener, ActionListener, Accessible
Constructores
Campos
- actionCommand
- dataModel
- editor
- isEditable
- keySelectionManager
- lightWeightPopupEnabled
- maximumRowCount
- renderer
- selectedItemReminder
Métodos
- actionPerformed()
- actionPropertyChanged()
- addActionListener()
- addItem()
- addItemListener()
- addPopupMenuListener()
- configureEditor()
- configurePropertiesFromAction()
- contentsChanged()
- createActionPropertyChangeListener()
- createDefaultKeySelectionManager()
- fireActionEvent()
- fireItemStateChanged()
- firePopupMenuCanceled()
- firePopupMenuWillBecomeInvisible()
- firePopupMenuWillBecomeVisible()
- getAccessibleContext()
- getAction()
- getActionCommand()
- getActionListeners()
- getEditor()
- getItemAt()
- getItemCount()
- getItemListeners()
- getKeySelectionManager()
- getMaximumRowCount()
- getModel()
- getPopupMenuListeners()
- getPrototypeDisplayValue()
- getRenderer()
- getSelectedIndex()
- getSelectedItem()
- getSelectedObjects()
- getUI()
- getUIClassID()
- hidePopup()
- insertItemAt()
- installAncestorListener()
- intervalAdded()
- intervalRemoved()
- isEditable()
- isLightWeightPopupEnabled()
- isPopupVisible()
- paramString()
- processKeyEvent()
- removeActionListener()
- removeAllItems()
- removeItem()
- removeItemAt()
- removeItemListener()
- removePopupMenuListener()
- selectedItemChanged()
- selectWithKeyChar()
- setAction()
- setActionCommand()
- setEditable()
- setEditor()
- setEnabled()
- setKeySelectionManager()
- setLightWeightPopupEnabled()
- setMaximumRowCount()
- setModel()
- setPopupVisible()
- setPrototypeDisplayValue()
- setRenderer()
- setSelectedIndex()
- setSelectedItem()
- setUI()
- showPopup()
- updateUI()
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.