Package org.apache.pivot.wtk
Interface TableView.SelectedRowBindMapping
- 
- Enclosing class:
 - TableView
 
public static interface TableView.SelectedRowBindMappingTranslates between selection and bind context data during data binding. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectget(List<?> tableData, int index)Retrieves the value at the given index.intindexOf(List<?> tableData, java.lang.Object value)Returns the index of the row in the source list. 
 - 
 
- 
- 
Method Detail
- 
indexOf
int indexOf(List<?> tableData, java.lang.Object value)
Returns the index of the row in the source list.- Parameters:
 tableData- The source table data.value- The value to locate.- Returns:
 - The index of first occurrence of the value if it exists in the
 list; 
-1, otherwise. 
 
- 
get
java.lang.Object get(List<?> tableData, int index)
Retrieves the value at the given index.- Parameters:
 tableData- The source table data.index- The index of the value to retrieve.- Returns:
 - The object value at that index.
 
 
 - 
 
 -