Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mentawai.list
Interface ListData  view ListData download ListData.java

All Known Implementing Classes:
BaseListData, SimpleListData

public interface ListData

Defines how a data list works.


Method Summary
 java.lang.String getName()
          Returns the name of this list.
 java.lang.String getValue(int id, java.util.Locale loc)
          Returns the string value of the list data item with the given id in the given locale.
 java.util.List getValues(java.util.Locale loc)
          Returns a list of ListDataItem in the given locale.
 int size()
          Returns the size of this list.
 

Method Detail

getValue

public java.lang.String getValue(int id,
                                 java.util.Locale loc)
Returns the string value of the list data item with the given id in the given locale.


getValues

public java.util.List getValues(java.util.Locale loc)
Returns a list of ListDataItem in the given locale.


getName

public java.lang.String getName()
Returns the name of this list.


size

public int size()
Returns the size of this list. Note: the size does not depend on the number of locales.