StaticEnumerator instead@Deprecated public class StaticEnumerator extends Object implements Enumerator
| Modifier and Type | Field and Description |
|---|---|
private Map<Object,I18nizableText> |
_entries
Deprecated.
|
| Constructor and Description |
|---|
StaticEnumerator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(I18nizableText label,
String value)
Deprecated.
Adds a new entry.
|
Map<Object,I18nizableText> |
getEntries()
Deprecated.
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Deprecated.
Retrieves a single label from a value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationprivate Map<Object,I18nizableText> _entries
public StaticEnumerator()
public void add(I18nizableText label, String value)
label - the entry label.value - the entry value.public I18nizableText getEntry(String value)
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.public Map<Object,I18nizableText> getEntries()
EnumeratorgetEntries in interface Enumerator