Skip to main content

Home/ GWT - Samples/ Group items tagged tree

Rss Feed Group items tagged

Esfand S

TreeItem (Google Web Toolkit Javadoc) - 0 views

  • public class TreeExample implements EntryPoint { public void onModuleLoad() { // Create a tree with a few items in it. TreeItem root = new TreeItem("root"); root.addItem("item0"); root.addItem("item1"); root.addItem("item2"); // Add a CheckBox to the tree TreeItem item = new TreeItem(new CheckBox("item3")); root.addItem(item); Tree t = new Tree(); t.addItem(root); // Add it to the root panel. RootPanel.get().add(t); } }
1 - 3 of 3
Showing 20 items per page