org.objectweb.telosys.common.data
Interface ListItemProvider


public interface ListItemProvider


Method Summary
 void afterUse()
          Notify the ListItem provider that it has been used
 void beforeUse()
          Notify the ListItem provider that it will be used
 java.lang.String getListItemText(int iRow)
          Returns the item text for the given row (text to be shown in the combo/list)
 java.lang.String getListItemValue(int iRow)
          Returns the item value for the given row
 int getRowCount()
          Returns the number of rows of the ListItem provider
 

Method Detail

getRowCount

public int getRowCount()
Returns the number of rows of the ListItem provider

Returns:
: row count

getListItemValue

public java.lang.String getListItemValue(int iRow)
Returns the item value for the given row

Parameters:
iRow - ( from 1 to RowCount )
Returns:
item value

getListItemText

public java.lang.String getListItemText(int iRow)
Returns the item text for the given row (text to be shown in the combo/list)

Parameters:
iRow - ( from 1 to RowCount )
Returns:
item text

beforeUse

public void beforeUse()
Notify the ListItem provider that it will be used


afterUse

public void afterUse()
Notify the ListItem provider that it has been used