Class Selection

java.lang.Object
eu.bandm.tools.muli.Selection

public class Selection extends Object
  • Field Details

    • LINGUA_FRANCA

      public static final String LINGUA_FRANCA
      See Also:
    • currentLanguage

      protected String currentLanguage
    • priorities

      protected final List<String> priorities
    • preferences

      protected final List<String> preferences
    • listeners

      protected final Set<Selection.Listener> listeners
    • prefs

      public final List<String> prefs
      ATTENTION Deöivers a life-list which will change according to "setLangauge()" etc.
  • Constructor Details

    • Selection

      public Selection(String... langs)
    • Selection

      public Selection(List<String> langs)
  • Method Details

    • getCurrentLanguage

      public String getCurrentLanguage()
    • isMuLi

      public boolean isMuLi()
    • addListener

      public void addListener(Selection.Listener rec)
    • removeListener

      public void removeListener(Selection.Listener rec)
    • setLanguage

      public void setLanguage(String lang)
    • setPriorities

      public void setPriorities(String... langs)
    • updatePreferences

      protected void updatePreferences()