public class Selection extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Selection.Listener |
Modifier and Type | Field and Description |
---|---|
protected String |
currentLanguage |
protected Set<Selection.Listener> |
listeners |
protected List<String> |
preferences |
List<String> |
prefs |
protected List<String> |
priorities |
Modifier and Type | Method and Description |
---|---|
boolean |
isMuLi() |
void |
register(Selection.Listener rec) |
void |
setLanguage(String lang) |
void |
setPriorities(String... langs) |
protected void |
signalToAllListeners() |
void |
unregister(Selection.Listener rec) |
protected void |
updatePreferences() |
protected String currentLanguage
protected final Set<Selection.Listener> listeners
public Selection(String... langs)
public boolean isMuLi()
public void register(Selection.Listener rec)
public void unregister(Selection.Listener rec)
public void setLanguage(String lang)
public void setPriorities(String... langs)
protected void signalToAllListeners()
protected void updatePreferences()
see also the complete user documentation .