Package org.apache.pivot.wtk
Interface ListView.ListDataBindMapping
-
- Enclosing class:
- ListView
public static interface ListView.ListDataBindMapping
Translates between list and bind context data during data binding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<?>
toListData(java.lang.Object value)
Converts a context value to list data during aComponent.load(Object)
operation.java.lang.Object
valueOf(List<?> listData)
Converts list data to a context value during aComponent.store(Object)
operation.
-
-
-
Method Detail
-
toListData
List<?> toListData(java.lang.Object value)
Converts a context value to list data during aComponent.load(Object)
operation.- Parameters:
value
- The value fetched from the bound object.- Returns:
- The value converted to a list of data.
-
valueOf
java.lang.Object valueOf(List<?> listData)
Converts list data to a context value during aComponent.store(Object)
operation.- Parameters:
listData
- The current list data from the list view.- Returns:
- That list data converted to an object suitable for persistence in the bound object.
-
-