* Constructor.
*/
public TableDemo() {
super(ComponentDemoId.table, "Table");
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.GridLines, "Grid lines", this,
new String[]{
"/components/table/table/tableGridLines.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoGridLines, "No grid lines", this,
new String[]{
"/components/table/table/tableNoGridLines.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.SingleRowSelection, "Single Row Selection", this,
new String[]{
"/components/table/table/tableSingleRowSelection.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.MultipleRowSelection, "Multiple Row Selection", this,
new String[]{
"/components/table/table/tableMultipleRowSelection.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ShowHide, "Show / Hide", this,
new String[]{
"/components/table/table/tableShowHide.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Pagination, this,
new String[]{
"/components/table/table/tablePaginated.xhtml"
}));
setDefaultVariant(VARIANTS.GridLines);