Class LocaleConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.i18n.LocaleConfigurer

public class LocaleConfigurer extends Configurer
Configure a Locale Value using full, localized Language and Country names
Author:
Brent Easton
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • getValueString Link icon

      public String getValueString()
      Specified by:
      getValueString in class Configurer
      Returns:
      a String representation of the Object value
    • getValueLocale Link icon

      public Locale getValueLocale()
    • setValue Link icon

      public void setValue(Locale l)
    • setValue Link icon

      public void setValue(String s)
      Description copied from class: Configurer
      Set the Object value from a String
      Specified by:
      setValue in class Configurer
    • setLanguage Link icon

      protected void setLanguage(String l)
    • setCountry Link icon

      protected void setCountry(String c)
    • getControls Link icon

      public Component getControls()
      Description copied from class: Configurer
      GUI interface for setting the option in an editing window
      Specified by:
      getControls in class Configurer
    • updateValue Link icon

      protected void updateValue()
    • getLanguageList Link icon

      protected String[] getLanguageList()
    • getCountryList Link icon

      protected String[] getCountryList()
    • stringToLocale Link icon

      public static Locale stringToLocale(String s)
    • localeToString Link icon

      public static String localeToString(Locale l)