Package org.apache.wicket.extensions.markup.html.repeater.data.table

Examples of org.apache.wicket.extensions.markup.html.repeater.data.table.NavigationToolbar


  public DefaultTableTree(String id, List<IColumn<T, S>> columns, ISortableTreeProvider<T, S> provider,
    int rowsPerPage, IModel<Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here


                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
                    "common.delete")));
            add(userRulesForm);
View Full Code Here

                    new PropertyColumn(new Model("Order"), "fallbackOrder") };
           
            DataTable ruleCriteriaTable = new DataTable("ruleCriteriaTable", columns, dataProvider, 10);

            ruleCriteriaTable.addTopToolbar(new HeadersToolbar(ruleCriteriaTable, dataProvider));
            ruleCriteriaTable.addBottomToolbar(new NavigationToolbar(ruleCriteriaTable));
            ruleEditForm.add(ruleCriteriaTable);

            Button newCriterionButton = new Button("newCriterionButton",new ResourceModel("criteria.new")) {

                @Override
View Full Code Here

  public DefaultTableTree(String id, List<? extends IColumn<T, S>> columns,
    ISortableTreeProvider<T, S> provider, int rowsPerPage, IModel<? extends Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar<>(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here

  public DefaultTableTree(String id, List<IColumn<T>> columns, ISortableTreeProvider<T> provider,
    int rowsPerPage, IModel<Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here

    add(filterForm);
   
    FilterToolbar filterToolbar = new FilterToolbar(tableWithFilterForm, filterForm, null);
   
    tableWithFilterForm.addTopToolbar(filterToolbar);
    tableWithFilterForm.addTopToolbar(new NavigationToolbar(tableWithFilterForm));
    tableWithFilterForm.addTopToolbar(new HeadersToolbar(tableWithFilterForm, dataProvider));
    filterForm.add(tableWithFilterForm);
  }
View Full Code Here

                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
                    "common.delete")));
            add(userRulesForm);
View Full Code Here

    add(filterForm);
   
    FilterToolbar filterToolbar = new FilterToolbar(tableWithFilterForm, filterForm);
   
    tableWithFilterForm.addTopToolbar(filterToolbar);
    tableWithFilterForm.addTopToolbar(new NavigationToolbar(tableWithFilterForm));
    tableWithFilterForm.addTopToolbar(new HeadersToolbar<>(tableWithFilterForm, dataProvider));
    filterForm.add(tableWithFilterForm);
  }
View Full Code Here

  public DefaultTableTree(String id, List<? extends IColumn<T, S>> columns,
    ISortableTreeProvider<T, S> provider, int rowsPerPage, IModel<Set<T>> state)
  {
    super(id, columns, provider, rowsPerPage, state);

    getTable().addTopToolbar(new NavigationToolbar(getTable()));
    getTable().addTopToolbar(new HeadersToolbar<S>(getTable(), provider));
    getTable().addBottomToolbar(new NoRecordsToolbar(getTable()));

    add(new WindowsTheme());
  }
View Full Code Here

                    return new PortletOddEvenItem(id, index, model);
                }
            };
            userRulesDataTable.addTopToolbar(new HeadersToolbar(
                    userRulesDataTable, dataProvider));
            userRulesDataTable.addBottomToolbar(new NavigationToolbar(
                    userRulesDataTable));
            userRulesForm.add(userRulesDataTable);
            userRulesForm.add(new Button("submit", new ResourceModel(
                    "common.delete")));
            add(userRulesForm);
View Full Code Here

TOP

Related Classes of org.apache.wicket.extensions.markup.html.repeater.data.table.NavigationToolbar

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.