Directory

← Back

LocaleComboBox Add-on

Combo-box component which shows png-image based flag icon with country name.

Author

Rating

Popularity

<100

LocaleComboBox is a Server-side component that shows png-image based flag icon with country name.

It provides same functionality and view of ComboBox component. It displays locales that mapped from default locale.

Notice :This component is used with Locale class (pure Java class). Please make sure that your Locale object uses ISO 3166 2-letter country code.

Sample code

final LocaleComboBox comboBox = new LocaleComboBox("Locale ComboBox");
comboBox.setVisibleLocales(Locale.KOREA, Locale.getAvailableLocales());
comboBox.setVisibleLocales(Locale.CHINA, Locale.FRANCE, Locale.CANADA, Locale.JAPAN);
comboBox.setVisibleLocales(Locale.CANADA, new Locale("en","GR"));
  final LocaleComboBox comboBox = new LocaleComboBox("Locale ComboBox");
  comboBox.setIconStyle(LocaleComboBox.IconStyle.FLAT);
  comboBox.setIconStyle(LocaleComboBox.IconStyle.SHINY);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

default behavior is changed

  • default locale flag is set [ automatically -> manually ]
Released
2017-09-04
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 8.0
Browser
Firefox
Google Chrome
Internet Explorer
Microsoft Edge

LocaleComboBox Add-on - Vaadin Add-on Directory

Combo-box component which shows png-image based flag icon with country name. LocaleComboBox Add-on - Vaadin Add-on Directory
LocaleComboBox is a Server-side component that shows png-image based flag icon with country name. It provides same functionality and view of ComboBox component. It displays locales that mapped from default locale. Notice :This component is used with Locale class (pure Java class). Please make sure that your Locale object uses ISO 3166 2-letter country code.
Author Homepage
Issue Tracker
Source Code

LocaleComboBox Add-on version 1.0-SNAPSHOT

LocaleComboBox Add-on version 1.0.0
null

LocaleComboBox Add-on version 1.2.0
change to support only default locale(set by jvm) map.

LocaleComboBox Add-on version 1.2.1
default behavior is changed - default locale flag is set [ automatically -> manually ]

Online