Class SortedComboBoxModel<E extends Comparable<E>>

java.lang.Object
javax.swing.AbstractListModel<E>
javax.swing.DefaultComboBoxModel<E>
net.hironico.common.swing.SortedComboBoxModel<E>
All Implemented Interfaces:
Serializable, ComboBoxModel<E>, ListModel<E>, MutableComboBoxModel<E>

public class SortedComboBoxModel<E extends Comparable<E>> extends DefaultComboBoxModel<E>
Custom model to make sure the items are stored in a sorted order. The default is to sort in the natural order of the item, but a Comparator can be used to customize the sort order.
See Also: