Java com.vaadin.ui Tree fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui Tree fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui Tree.

The text is from its open source code.

Subclass

com.vaadin.ui.Tree has subclasses.
Click this link to see all its subclasses.

Implementation

com.vaadin.ui.Tree has the following implementations.
Click this link to see all its implementation.

Constructor

Tree(String caption)
Constructs a new Tree Component with given caption.
Tree(HierarchicalDataProvider dataProvider)
Constructs a new Tree Component with given HierarchicalDataProvider .
Tree(String caption, TreeData treeData)
Constructs a new Tree Component with given caption and TreeData .
Tree(String caption, HierarchicalDataProvider dataProvider)
Constructs a new Tree Component with given caption and HierarchicalDataProvider .
Tree()
Constructs a new Tree Component.

Method

RegistrationaddCollapseListener(CollapseListener listener)
Adds a CollapseListener to this Tree.
RegistrationaddExpandListener(ExpandListener listener)
Adds an ExpandListener to this Tree.
RegistrationaddItemClickListener(ItemClickListener listener)
Adds an item click listener.
RegistrationaddListener(Component.Listener listener)
RegistrationaddShortcutListener(ShortcutListener shortcut)
voidaddStyleName(String style)
voidexpand(T... items)
Expands the given items.
voidexpand(Collection items)
Expands the given items.
voidfocus()
StringgetCaption()
booleanisExpanded(T item)
Returns whether a given item is expanded or collapsed.
voidselect(T item)
This method is a shorthand that delegates to the currently set selection model.
voidsetHeightUndefined()
voidsetSizeFull()
voidsetStyleName(String style)
voidsetWidth(String width)