Package org.apache.wicket.extensions.markup.html.tree.table

Examples of org.apache.wicket.extensions.markup.html.tree.table.ColumnLocation


   * Page constructor.
   */
  public EditableTreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn(new ColumnLocation(Alignment.LEFT, 18, Unit.EM),
            "Tree Column", "userObject.property1"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.LEFT, 12, Unit.EM), "L2",
            "userObject.property2"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 3,
            Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1",
            "userObject.property6"),

    };

    Form form = new Form("form");
View Full Code Here


   * Page constructor.
   */
  public TreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn(new ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL),
            "Tree Column (middle)", "userObject.property1"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.LEFT, 7, Unit.EM), "L2",
            "userObject.property2"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 3,
            Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1",
            "userObject.property6"), };

    tree = new TreeTable("treeTable", createTreeModel(), columns);
    tree.getTreeState().setAllowSelectMultiple(true);
    add(tree);
View Full Code Here

   * Page constructor.
   */
  public EditableTreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn(new ColumnLocation(Alignment.LEFT, 18, Unit.EM),
            "Tree Column", "userObject.property1"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.LEFT, 12, Unit.EM), "L2",
            "userObject.property2"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.MIDDLE, 3,
            Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyEditableColumn(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1",
            "userObject.property6"),

    };

    Form form = new Form("form");
View Full Code Here

   * Page constructor.
   */
  public TreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn(new ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL),
            "Tree Column (middle)", "userObject.property1"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.LEFT, 7, Unit.EM), "L2",
            "userObject.property2"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 2,
            Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 3,
            Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyRenderableColumn(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1",
            "userObject.property6"), };

    tree = new TreeTable("treeTable", createTreeModel(), columns);
    tree.getTreeState().setAllowSelectMultiple(true);
    add(tree);
View Full Code Here

   * Page constructor.
   */
  public EditableTreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn<String>(new ColumnLocation(Alignment.LEFT, 18, Unit.EM),
          "Tree Column", "userObject.property1"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.LEFT, 12, Unit.EM),
          "L2", "userObject.property2"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 3,
          Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM),
          "R1", "userObject.property6"),

    };

    Form<Void> form = new Form<Void>("form");
View Full Code Here

   * Page constructor.
   */
  public TreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn<String>(new ColumnLocation(Alignment.MIDDLE, 8,
          Unit.PROPORTIONAL), "Tree Column (middle)", "userObject.property1"),
        new PropertyRenderableColumn<String>(
          new ColumnLocation(Alignment.LEFT, 7, Unit.EM), "L2", "userObject.property2"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 3,
          Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyRenderableColumn<String>(
          new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1", "userObject.property6"), };

    tree = new TreeTable("treeTable", createTreeModel(), columns);
    tree.getTreeState().setAllowSelectMultiple(true);
    add(tree);
    tree.getTreeState().collapseAll();
View Full Code Here

   * Page constructor.
   */
  public TreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn<String>(new ColumnLocation(Alignment.MIDDLE, 8,
          Unit.PROPORTIONAL), "Tree Column (middle)", "userObject.property1"),
        new PropertyRenderableColumn<String>(
          new ColumnLocation(Alignment.LEFT, 7, Unit.EM), "L2", "userObject.property2"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyRenderableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 3,
          Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyRenderableColumn<String>(
          new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), "R1", "userObject.property6"), };

    tree = new TreeTable("treeTable", createTreeModel(), columns);
    tree.getTreeState().setAllowSelectMultiple(true);
    add(tree);
    tree.getTreeState().collapseAll();
View Full Code Here

   * Page constructor.
   */
  public EditableTreeTablePage()
  {
    IColumn columns[] = new IColumn[] {
        new PropertyTreeColumn<String>(new ColumnLocation(Alignment.LEFT, 18, Unit.EM),
          "Tree Column", "userObject.property1"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.LEFT, 12, Unit.EM),
          "L2", "userObject.property2"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M1", "userObject.property3"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 2,
          Unit.PROPORTIONAL), "M2", "userObject.property4"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.MIDDLE, 3,
          Unit.PROPORTIONAL), "M3", "userObject.property5"),
        new PropertyEditableColumn<String>(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM),
          "R1", "userObject.property6"),

    };

    Form<Void> form = new Form<Void>("form");
View Full Code Here

public class JmxTreeTable extends TreeTable {
  private static final long serialVersionUID = 1L;

  public JmxTreeTable(String id, TreeModel model) {
    super(id, model, new IColumn[] {
        new JmxTreeColumn(new ColumnLocation(Alignment.LEFT, 50,
            Unit.PERCENT), "Node"),
        new JmxEditorTreeColumn(new ColumnLocation(Alignment.RIGHT, 50,
            Unit.PERCENT), "Value") });
    setRootLess(true);
    getTreeState().collapseAll();
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.extensions.markup.html.tree.table.ColumnLocation

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.