public class LocalizedListData extends Object implements ListData
| Constructor and Description |
|---|
LocalizedListData(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int id,
String value,
Locale loc) |
void |
add(String id,
String value,
Locale loc) |
void |
clear() |
String |
getName()
Returns the name of this list.
|
String |
getValue(int id)
Returns the string value of the list data item with the given id with the default locale.
|
String |
getValue(int id,
Locale loc)
Returns the string value of the list data item with the given id in the given locale.
|
String |
getValue(String id)
Returns the string value for the list data item with the default locale.
|
String |
getValue(String id,
Locale loc)
Returns the string value of the list data item with the given id in the given locale.
|
List<ListItem> |
getValues()
Returns a list of ListItem for the default locale.
|
List<ListItem> |
getValues(Locale loc)
Returns a list of ListItem in the given locale.
|
int |
size()
Returns the size of this list.
|
String |
toString() |
public LocalizedListData(String name)
public void clear()
public String getValue(int id, Locale loc)
ListDatapublic String getValue(String id)
ListDatapublic String getValue(int id)
ListDatapublic String getValue(String id, Locale loc)
ListDatapublic List<ListItem> getValues(Locale loc)
ListDatapublic List<ListItem> getValues()
ListDatapublic String getName()
ListDatapublic int size()
ListDataCopyright © 2015. All Rights Reserved.