Class ToolTipComboBox

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class ToolTipComboBox extends JComboBox

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable
See Also:
  • Constructor Details

    • ToolTipComboBox

      public ToolTipComboBox(ComboBoxModel aModel)
      Creates a ToolTipComboBox that takes it's items from an existing ComboBoxModel. Since the ComboBoxModel is provided, a combo box created using this constructor does not create a default combo box model and may impact how the insert, remove and add methods behave.
      Parameters:
      aModel - the ComboBoxModel that provides the displayed list of items
      See Also:
    • ToolTipComboBox

      public ToolTipComboBox(Object[] items)
      Creates a ToolTipComboBox that contains the elements in the specified array. By default the first item in the array (and therefore the data model) becomes selected.
      Parameters:
      items - an array of objects to insert into the combo box
      See Also:
    • ToolTipComboBox

      public ToolTipComboBox(Vector<?> items)
      Creates a ToolTipComboBox that contains the elements in the specified Vector. By default the first item in the vector and therefore the data model) becomes selected.
      Parameters:
      items - an array of vectors to insert into the combo box
      See Also:
    • ToolTipComboBox

      public ToolTipComboBox()
      Creates a ToolTipComboBox with a default data model. The default data model is an empty list of objects. Use addItem to add items. By default the first item in the data model becomes selected.
      See Also: