Class SimpleListViewPanel.Builder<T extends Serializable>
java.lang.Object
org.apache.syncope.client.ui.commons.panels.SimpleListViewPanel.Builder<T>
- Type Parameters:
T
- list item reference type.
- All Implemented Interfaces:
Serializable
- Enclosing class:
SimpleListViewPanel<T extends Serializable>
public static class SimpleListViewPanel.Builder<T extends Serializable>
extends Object
implements Serializable
SimpleListViewPanel builder.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds item.protected T
getActualItem
(T item, List<T> list) protected Component
getValueComponent
(String key, T bean) Overridable method to generate field value rendering component.Gives fields to be shown.Sets list of items.
-
Constructor Details
-
Builder
-
-
Method Details
-
setItems
Sets list of items.- Parameters:
items
- list of items.- Returns:
- current builder object.
-
addItem
Adds item.- Parameters:
item
- item.- Returns:
- current builder object.
-
includes
Gives fields to be shown. It could be used to give an order as well.- Parameters:
includes
- field names to be shown.- Returns:
- current builder object.
-
getValueComponent
Overridable method to generate field value rendering component.- Parameters:
key
- field key.bean
- source bean.- Returns:
- field rendering component.
-
getActualItem
-
build
-