public static class SwingFactories.LocaleComboBoxModel extends AbstractListModel implements ComboBoxModel
AbstractListModel
and a ComboBoxModel
allowing
to list the available Locales.listenerList
Modifier and Type | Method and Description |
---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
Locale |
getSelectedLocale()
Returns the selected locale.
|
int |
getSize() |
void |
setSelectedItem(Object anObject) |
void |
setSelectedLocale(Locale locale)
Sets the selected locale.
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public void setSelectedItem(Object anObject)
setSelectedItem
in interface ComboBoxModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedLocale(Locale locale)
public Locale getSelectedLocale()
public Object getElementAt(int index)
getElementAt
in interface ListModel
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.