Interface Localized

  • All Known Subinterfaces:
    Spell
    All Known Implementing Classes:
    MagellanSpellImpl, MessageType

    public interface Localized
    This interface should guarantee that the object can be localized. Furthermore it should make sure that relocalized objects invalidate locale dependent information.
    Version:
    1.0, 20.11.2007
    Author:
    ...
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Locale getLocale()
      Return the current locale i.e. for comparisions
      void setLocale​(java.util.Locale locale)
      Sets the current locale of the object and should invalidate/reset all locale dependent content of the object if the locale changes.
    • Method Detail

      • setLocale

        void setLocale​(java.util.Locale locale)
        Sets the current locale of the object and should invalidate/reset all locale dependent content of the object if the locale changes.
        Parameters:
        locale -
      • getLocale

        java.util.Locale getLocale()
        Return the current locale i.e. for comparisions
        Returns:
        locale