List of usage examples for com.google.gwt.widgetideas.client FastTreeItem becomeInteriorNode
public void becomeInteriorNode()
From source file:com.google.gwt.demos.fasttree.client.FastTreeDemo.java
License:Apache License
private void lazyCreateChild(final HasFastTreeItems parent, final int index, final int children) { FastTreeItem item = new FastTreeItem("child" + index + " (" + children + " children)") { public void ensureChildren() { for (int i = 0; i < children; i++) { lazyCreateChild(this, i, children + (i * 10)); }/*from w ww. j a va 2 s. co m*/ } }; item.becomeInteriorNode(); parent.addItem(item); }