Interface Localeable

  • All Known Implementing Classes:
    DefaultLocaleable, LocaledText

    public interface Localeable
    An object that keeps track of a locale.
    Author:
    Garret Wilson
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LOCALE_PROPERTY_NAME
      The name of the locale property, if it is bound in any modifiable object.
    • Field Detail

      • LOCALE_PROPERTY_NAME

        static final java.lang.String LOCALE_PROPERTY_NAME
        The name of the locale property, if it is bound in any modifiable object.
    • Method Detail

      • getLocale

        java.util.Locale getLocale()
        Returns:
        The locale or null if no locale is indicated.
      • setLocale

        void setLocale​(java.util.Locale locale)
        Sets the locale
        Parameters:
        locale - The locale or null if no locale is indicated.