Package org.primefaces.showcase.view.dnd
Class ColumnManagerView
- java.lang.Object
-
- org.primefaces.showcase.view.dnd.ColumnManagerView
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ColumnManagerView extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColumnManagerView.ColumnModel
-
Constructor Summary
Constructors Constructor Description ColumnManagerView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDynamicColumns()org.primefaces.model.TreeNodegetAvailableColumns()List<ColumnManagerView.ColumnModel>getColumns()List<Product>getProducts()voidinit()voidsetService(ProductService service)voidtableToTree()voidtreeToTable()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
createDynamicColumns
public void createDynamicColumns()
-
treeToTable
public void treeToTable()
-
tableToTree
public void tableToTree()
-
getColumns
public List<ColumnManagerView.ColumnModel> getColumns()
-
getAvailableColumns
public org.primefaces.model.TreeNode getAvailableColumns()
-
setService
public void setService(ProductService service)
-
-