Java com.google.gwt.user.client.ui Tree fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui Tree fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui Tree.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.Tree has subclasses.
Click this link to see all its subclasses.

Constructor

Tree()
Constructs an empty tree.
Tree(Resources resources)
Constructs a tree that uses the specified ClientBundle for images.
Tree(TreeImages images)
Constructs a tree that uses the specified image bundle for images.
Tree(Resources resources, boolean useLeafImages)
Constructs a tree that uses the specified ClientBundle for images.
Tree(TreeImages images, boolean useLeafImages)
Constructs a tree that uses the specified image bundle for images.

Method

HandlerRegistrationaddCloseHandler(CloseHandler handler)
HandlerRegistrationaddFocusHandler(FocusHandler handler)
voidaddItem(IsTreeItem isItem)
Adds an item to the root level of this tree.
TreeItemaddItem(IsWidget w)
Overloaded version for IsWidget.
TreeItemaddItem(SafeHtml itemHtml)
Adds a simple tree item containing the specified html.
TreeItemaddItem(String itemHtml)
Adds a simple tree item containing the specified html.
voidaddItem(TreeItem item)
Adds an item to the root level of this tree.
TreeItemaddItem(Widget widget)
Adds a new tree item containing the specified widget.
HandlerRegistrationaddMouseUpHandler(MouseUpHandler handler)
HandlerRegistrationaddOpenHandler(OpenHandler handler)
HandlerRegistrationaddSelectionHandler(SelectionHandler handler)
TreeItemaddTextItem(String itemText)
Adds a simple tree item containing the specified text.
voidaddTreeListener(TreeListener listener)
voidclear()
Clears all tree items from the current tree.
voidensureSelectedItemVisible()
Ensures that the currently-selected item is visible, opening its parents and scrolling the tree as necessary.
TreeItemgetItem(int index)
Gets the top-level tree item at the specified index.
intgetItemCount()
Gets the number of items contained at the root of this tree.
TreeItemgetSelectedItem()
Gets the currently selected item.
voidsetAnimationEnabled(boolean enable)
voidsetSelectedItem(TreeItem item)
Selects a specified item.
voidsetSelectedItem(TreeItem item, boolean fireEvents)
Selects a specified item.
IteratortreeItemIterator()
Iterator of tree items.