Class JosmComboBox<E>

Type Parameters:
E - the type of the elements of this combo box
All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, ListDataListener, PopupMenuListener
Direct Known Subclasses:
AutoCompComboBox, OsmPrimitiveTypesComboBox

public class JosmComboBox<E> extends JComboBox<E> implements PopupMenuListener, PropertyChangeListener
Base class for all comboboxes in JOSM.

This combobox will show as many rows as possible without covering the combox itself. It makes sure the list will never go outside the screen (see #7917). You may limit the number of rows shown with the configuration: gui.combobox.maximum-row-count.

This combobox uses a JosmTextField for its editor component.

Since:
5429 (creation), 7015 (generics for Java 7)
See Also: