Changeset 5100
- Timestamp:
- 07/11/08 16:59:56 (4 months ago)
- Location:
- trunk/src/com/itmill/toolkit/tests/book
- Files:
-
- 2 added
- 1 modified
-
BookTestApplication.java (modified) (2 diffs)
-
TableEditable.java (added)
-
TableExample3.java (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/tests/book/BookTestApplication.java
r5072 r5100 133 133 "textfieldvalidation", "datefield", "button", 134 134 "select/select", "select/native", "select/optiongroup", 135 "select/twincol", "filterselect", "validator", "table", "table/select", 135 "select/twincol", "filterselect", "validator", "table", "table/select", "table/component", "table/paging", "table/editable", 136 136 "upload", "link", "gridlayout", "orderedlayout", 137 137 "formlayout", "form", "form/simple", "form/layout", "panel", "expandlayout", "expandlayout/root", "tabsheet", … … 548 548 549 549 void example_Table(Window main, String param) { 550 if (param != null && param.equals("select")) { 551 main.addComponent(new TableExample2()); 552 } else if (param != null && param.equals("paging")) { 553 PagingTable table = new PagingTable(); 554 table.addContainerProperty("Column 1", String.class, null); 555 for (int i=0; i<100; i++) 556 table.addItem(new Object[]{"Item "+i}, new Integer(i)); 557 main.addComponent(table); 550 if (param != null) { 551 if (param.equals("select")) { 552 main.addComponent(new TableExample2()); 553 } else if (param.equals("component")) { 554 main.addComponent(new TableExample3()); 555 } else if (param.equals("editable")) { 556 main.addComponent(new TableEditable()); 557 } else if (param.equals("paging")) { 558 PagingTable table = new PagingTable(); 559 table.addContainerProperty("Column 1", String.class, null); 560 for (int i=0; i<100; i++) 561 table.addItem(new Object[]{"Item "+i}, new Integer(i)); 562 main.addComponent(table); 563 } 558 564 }else 559 565 main.addComponent(new TableExample1());
