com.toedter.components
Class JLocaleChooser
JComboBox
com.toedter.components.JLocaleChooser
- ItemListener
public class JLocaleChooser
extends JComboBox
implements ItemListener
JLocaleChooser is a bean for choosing locales.
$LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
Locale | getLocale() - Returns the locale.
|
String | getName() - Returns "JLocaleChoose".
|
void | itemStateChanged(ItemEvent iEvt) - The ItemListener for the locales.
|
static void | main(String[] s) - Creates a JFrame with a JLocaleChooser inside and can be used for
testing.
|
void | setLocale(Locale l) - Sets the locale.
|
component
protected JComponent component
JLocaleChooser
public JLocaleChooser()
Default JLocaleChooser constructor.
JLocaleChooser
public JLocaleChooser(JComponent component)
Default JLocaleChooser constructor.
getLocale
public Locale getLocale()
Returns the locale.
getName
public String getName()
Returns "JLocaleChoose".
itemStateChanged
public void itemStateChanged(ItemEvent iEvt)
The ItemListener for the locales.
main
public static void main(String[] s)
Creates a JFrame with a JLocaleChooser inside and can be used for
testing.
setLocale
public void setLocale(Locale l)
Sets the locale. This is a bound property.
Copyright B) 1999 - 2009 Kai Toedter.