Package org.apache.pivot.wtk
Interface TableView.TableDataBindMapping
-
- Enclosing class:
- TableView
public static interface TableView.TableDataBindMapping
Translates between table and bind context data during data binding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<?>
toTableData(java.lang.Object value)
Converts a context value to table data.java.lang.Object
valueOf(List<?> tableData)
Converts table data to a context value.
-
-
-
Method Detail
-
toTableData
List<?> toTableData(java.lang.Object value)
Converts a context value to table data.- Parameters:
value
- The value retrieved from the user object.- Returns:
- The object converted to list data for the table.
-
valueOf
java.lang.Object valueOf(List<?> tableData)
Converts table data to a context value.- Parameters:
tableData
- The current table list data.- Returns:
- The list converted to a form suitable for storage in the user object.
-
-