public class LocalesComboModel
extends java.lang.Object
implements javax.swing.ComboBoxModel
Constructor and Description |
---|
LocalesComboModel() |
LocalesComboModel(boolean _withNullChoice) |
LocalesComboModel(boolean _withNullChoice,
L10nLocaleChangeAwareI _lca) |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(javax.swing.event.ListDataListener a) |
void |
fireContentsChanged() |
java.lang.Object |
getElementAt(int i) |
java.lang.Object |
getSelectedItem() |
java.util.Locale |
getSelectedLocale() |
int |
getSize() |
void |
removeListDataListener(javax.swing.event.ListDataListener a) |
void |
setLocales(java.lang.String[] ls) |
void |
setSelectedItem(java.lang.Object o) |
void |
setSelectedLocale(java.util.Locale _locale) |
public LocalesComboModel()
public LocalesComboModel(boolean _withNullChoice)
public LocalesComboModel(boolean _withNullChoice, L10nLocaleChangeAwareI _lca)
public void addListDataListener(javax.swing.event.ListDataListener a)
addListDataListener
in interface javax.swing.ListModel
public void removeListDataListener(javax.swing.event.ListDataListener a)
removeListDataListener
in interface javax.swing.ListModel
public int getSize()
getSize
in interface javax.swing.ListModel
public java.lang.Object getElementAt(int i)
getElementAt
in interface javax.swing.ListModel
public void setSelectedItem(java.lang.Object o)
setSelectedItem
in interface javax.swing.ComboBoxModel
public java.lang.Object getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel
public void setSelectedLocale(java.util.Locale _locale)
public java.util.Locale getSelectedLocale()
public void fireContentsChanged()
public void setLocales(java.lang.String[] ls)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.