Java Swing Tutorial - JComboBox Example








Constructor

  1. Java JComboBox() Constructor
  2. Java JComboBox(ComboBoxModel < E > aModel) Constructor
  3. Java JComboBox(E [] items) Constructor
  4. Java JComboBox(Vector < E > items) Constructor




Method

  1. Java JComboBox.addActionListener(ActionListener l)
  2. Java JComboBox.addItem(E item)
  3. Java JComboBox.addItemListener(ItemListener aListener)
  4. Java JComboBox.addPopupMenuListener(PopupMenuListener l)
  5. Java JComboBox.firePopupMenuCanceled()
  6. Java JComboBox.firePopupMenuWillBecomeInvisible()
  7. Java JComboBox.firePopupMenuWillBecomeVisible()
  8. Java JComboBox.getAccessibleContext()
  9. Java JComboBox.getAction()
  10. Java JComboBox.getActionCommand()
  11. Java JComboBox.getActionListeners()
  12. Java JComboBox.getEditor()
  13. Java JComboBox.getItemAt(int index)
  14. Java JComboBox.getItemCount()
  15. Java JComboBox.getItemListeners()
  16. Java JComboBox.getKeySelectionManager()
  17. Java JComboBox.getMaximumRowCount()
  18. Java JComboBox.getModel()
  19. Java JComboBox.getPopupMenuListeners()
  20. Java JComboBox.getPrototypeDisplayValue()
  21. Java JComboBox.getRenderer()
  22. Java JComboBox.getSelectedIndex()
  23. Java JComboBox.getSelectedItem()
  24. Java JComboBox.getSelectedObjects()
  25. Java JComboBox.hidePopup()
  26. Java JComboBox.insertItemAt(E item, int index)
  27. Java JComboBox.isEditable()
  28. Java JComboBox.isLightWeightPopupEnabled()
  29. Java JComboBox.isPopupVisible()
  30. Java JComboBox.removeActionListener(ActionListener l)
  31. Java JComboBox.removeAllItems()
  32. Java JComboBox.removeItem(Object anObject)
  33. Java JComboBox.removeItemAt(int anIndex)
  34. Java JComboBox.setActionCommand(String aCommand)
  35. Java JComboBox.setEditable(boolean aFlag)
  36. Java JComboBox.setEditor(ComboBoxEditor anEditor)
  37. Java JComboBox.setEnabled(boolean b)
  38. Java JComboBox.setKeySelectionManager(JComboBox.KeySelectionManager aManager)
  39. Java JComboBox.setLightWeightPopupEnabled(boolean aFlag)
  40. Java JComboBox.setMaximumRowCount(int count)
  41. Java JComboBox.setModel(ComboBoxModel < E > aModel)
  42. Java JComboBox.setPopupVisible(boolean v)
  43. Java JComboBox.setRenderer(ListCellRenderer aRenderer)
  44. Java JComboBox.setSelectedIndex(int anIndex)
  45. Java JComboBox.setSelectedItem(Object anObject)
  46. Java JComboBox.setUI(ComboBoxUI ui)
  47. Java JComboBox.showPopup()