public void Tree()
public void Tree(String treeTitle)
treeTitle
The title of the tree.
public void Tree(String treeTitle, V value)
treeTitle
The title of the tree.
value
The data value associated with the tree.
public static Tree<V> create(String title, V value)
title
The title of the tree.
value
The data value associated with the tree.
V
The type of data associated with each tree item.
A new Tree instance.
public static Tree<V> create(String title)
title
The title of the tree.
V
The type of data associated with each tree item.
A new Tree instance.
public static Tree<V> create()
V
The type of data associated with each tree item.
A new Tree instance.
public TreeItem<V> getSelection()
The currently selected tree item, or null if none is selected.
public void TreeItem(Icon<?> icon, String title)
icon
The icon to be displayed for the tree item.
title
The title of the tree item.
public void TreeItem(String title)
title
The title of the tree item.
public void TreeItem(Icon<?> icon)
icon
The icon to be displayed for the tree item.
public void TreeItem(String title, V value)
title
The title of the tree item.
value
The value associated with the tree item.
public void TreeItem(Icon<?> icon, String title, V value)
icon
The icon to be displayed for the tree item.
title
The title of the tree item.
value
The value associated with the tree item.
public void TreeItem(Icon<?> icon, V value)
icon
The icon to be displayed for the tree item.
value
The value associated with the tree item.
public static TreeItem<String> create(String title)
title
The title of the tree item.
A new TreeItem instance with the specified title.
public static TreeItem<String> create(Icon<?> icon, String title)
icon
The icon to be displayed for the tree item.
title
The title of the tree item.
A new TreeItem instance with the specified icon and title.
public static TreeItem<String> create(Icon<?> icon)
icon
The icon to be displayed for the tree item.
A new TreeItem instance with the specified icon.
public static TreeItem<T> create(String title, T value)
title
The title of the tree item.
value
The value associated with the tree item.
T
The type of the value.
A new TreeItem instance with the specified title and value.
public static TreeItem<T> create(Icon<?> icon, String title, T value)
icon
The icon to be displayed for the tree item.
title
The title of the tree item.
value
The value associated with the tree item.
T
The type of the value.
A new TreeItem instance with the specified icon, title, and value.
public static TreeItem<T> create(Icon<?> icon, T value)
icon
The icon to be displayed for the tree item.
value
The value associated with the tree item.
T
The type of the value.
A new TreeItem instance with the specified icon and value.
public TreeItem<V> getSelection()
The selected tree item.
public void setActiveNode(TreeItem<V> activeItem, boolean silent)
activeItem
The TreeItem to set as the active item.
silent
True to suppress listener notifications; false to trigger listeners.