Class GComboBox<E>

Type Parameters:
E - the type of the elements of this combo box See GhidraComboBox for improved functionality including handling of Enter key.
All Implemented Interfaces:
GComponent, ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class GComboBox<E> extends JComboBox<E> implements GComponent
A JComboBox that disables HTML rendering.
See Also:
  • Constructor Details

    • GComboBox

      public GComboBox()
      Creates an empty combobox with a default data model.

      See JComboBox()

    • GComboBox

      public GComboBox(ComboBoxModel<E> aModel)
      Creates a combobox using the specified model.

      See JComboBox(ComboBoxModel)

      Parameters:
      aModel - the ComboBoxModel of generic type E
    • GComboBox

      public GComboBox(E[] items)
      Creates a combobox using the specified items.

      See JComboBox(Object[])

      Parameters:
      items - array of objects of generic type E to insert into the combo box
    • GComboBox

      public GComboBox(Vector<E> items)
      Creates a combobox using the specified items.

      See JComboBox(Vector)

      Parameters:
      items - a vector containing objects of generic type E to insert into the combo box