Class LocaleGroup


  • public class LocaleGroup
    extends Object
    This class represents a group of ExtendedLocalizable objects which have a shared default locale.
    Version:
    $Id: LocaleGroup.java 1732018 2016-02-24 04:51:06Z gadams $ Originally authored by Stephane Hillion.
    • Field Detail

      • DEFAULT

        public static final LocaleGroup DEFAULT
        The default group.
      • locale

        protected Locale locale
        The shared Locale.
    • Constructor Detail

      • LocaleGroup

        public LocaleGroup()
    • Method Detail

      • setLocale

        public void setLocale​(Locale l)
        Sets the default locale for all the instances of ExtendedLocalizable in this group.
      • getLocale

        public Locale getLocale()
        Gets the current default locale in this group, or null.