Example usage for Java com.vaadin.ui Tree fields, constructors, methods, implement or subclass
The text is from its open source code.
Tree(String caption) Constructs a new Tree Component with given caption. | |
Tree(HierarchicalDataProvider Constructs a new Tree Component with given HierarchicalDataProvider . | |
Tree(String caption, TreeData Constructs a new Tree Component with given caption and TreeData . | |
Tree(String caption, HierarchicalDataProvider Constructs a new Tree Component with given caption and HierarchicalDataProvider . | |
Tree() Constructs a new Tree Component. |
Registration | addCollapseListener(CollapseListener Adds a CollapseListener to this Tree. |
Registration | addExpandListener(ExpandListener Adds an ExpandListener to this Tree. |
Registration | addItemClickListener(ItemClickListener Adds an item click listener. |
Registration | addListener(Component.Listener listener) |
Registration | addShortcutListener(ShortcutListener shortcut) |
void | addStyleName(String style) |
void | expand(T... items) Expands the given items. |
void | expand(Collection Expands the given items. |
void | focus() |
String | getCaption() |
boolean | isExpanded(T item) Returns whether a given item is expanded or collapsed. |
void | select(T item) This method is a shorthand that delegates to the currently set selection model. |
void | setHeightUndefined() |
void | setSizeFull() |
void | setStyleName(String style) |
void | setWidth(String width) |