Uses of Class
com.google.gwt.user.client.ui.TreeItem
Packages that use TreeItem
Package
Description
Widgets, Panels, and other user-interface classes.
-
Uses of TreeItem in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui that return TreeItemModifier and TypeMethodDescriptionAdds a simple tree item containing the specified html.Adds a new tree item containing the specified widget.Adds a simple tree item containing the specified html.Overloaded version for IsWidget.Adds a new tree item containing the specified widget.Adds a child tree item containing the specified html.Adds a child tree item containing the specified widget.HasTreeItems.addTextItem(String itemText) Adds a simple tree item containing the specified text.Tree.addTextItem(String itemText) Adds a simple tree item containing the specified text.TreeItem.addTextItem(String itemText) Adds a child tree item containing the specified text.IsTreeItem.asTreeItem()Returns theTreeItemaspect of the receiver.TreeItem.asTreeItem()TreeItem.getChild(int index) Gets the child at the specified index.Tree.getItem(int index) Gets the top-level tree item at the specified index.TreeItem.getParentItem()Gets this item's parent.Tree.getSelectedItem()Gets the currently selected item.Tree.insertItem(int beforeIndex, SafeHtml itemHtml) Inserts a child tree item at the specified index containing the specified html.Tree.insertItem(int beforeIndex, Widget widget) Inserts a child tree item at the specified index containing the specified widget.TreeItem.insertItem(int beforeIndex, SafeHtml itemHtml) Inserts a child tree item at the specified index containing the specified html.TreeItem.insertItem(int beforeIndex, Widget widget) Inserts a child tree item at the specified index containing the specified widget.Tree.insertTextItem(int beforeIndex, String itemText) Inserts a child tree item at the specified index containing the specified text.TreeItem.insertTextItem(int beforeIndex, String itemText) Inserts a child tree item at the specified index containing the specified text.Methods in com.google.gwt.user.client.ui that return types with arguments of type TreeItemModifier and TypeMethodDescriptionTreeItem.getChildren()Tree.getChildWidgets()Tree.treeItemIterator()Iterator of tree items.Methods in com.google.gwt.user.client.ui with parameters of type TreeItemModifier and TypeMethodDescriptionvoidAdds an tree item.voidAdds an item to the root level of this tree.voidAdds another item as a child to this one.(package private) void(package private) voidTreeItem.TreeItemImpl.convertToFullNode(TreeItem item) Deprecated.voidTreeListenerCollection.fireItemSelected(TreeItem item) Deprecated.Fires a "tree item selected" event to all listeners.voidTreeListenerCollection.fireItemStateChanged(TreeItem item) Deprecated.Fires a "tree item state changed" event to all listeners.(package private) voidTree.fireStateChanged(TreeItem item, boolean open) intTreeItem.getChildIndex(TreeItem child) Gets the index of the specified child item.voidTree.insertItem(int beforeIndex, TreeItem item) Inserts an item into the root level of this tree.voidTreeItem.insertItem(int beforeIndex, TreeItem item) Inserts an item as a child to this one.protected booleanTree.isKeyboardNavigationEnabled(TreeItem currentItem) Indicates if keyboard navigation is enabled for the Tree and for a given TreeItem.(package private) voidTreeItem.maybeRemoveItemFromParent(TreeItem item) Remove a tree item from its parent if it has one.(package private) voidTree.maybeUpdateSelection(TreeItem itemThatChangedState, boolean isItemOpening) voidTreeListener.onTreeItemSelected(TreeItem item) Deprecated.voidTreeListener.onTreeItemStateChanged(TreeItem item) voidHasTreeItems.removeItem(TreeItem item) Removes an item.voidTree.removeItem(TreeItem item) Removes an item from the root level of this tree.voidTreeItem.removeItem(TreeItem item) Removes one of this item's children.(package private) voidTreeItem.setParentItem(TreeItem parent) voidTree.setSelectedItem(TreeItem item) Selects a specified item.voidTree.setSelectedItem(TreeItem item, boolean fireEvents) Selects a specified item.(package private) voidTree.showClosedImage(TreeItem treeItem) Called only fromTreeItem: Shows the closed image on that tree item.(package private) voidTree.showLeafImage(TreeItem treeItem) Called only fromTreeItem: Shows the leaf image on a tree item.(package private) voidTree.showOpenImage(TreeItem treeItem) Called only fromTreeItem: Shows the open image on a tree item.Method parameters in com.google.gwt.user.client.ui with type arguments of type TreeItemModifier and TypeMethodDescriptionTree.addCloseHandler(CloseHandler<TreeItem> handler) final HandlerRegistrationTree.addOpenHandler(OpenHandler<TreeItem> handler) Tree.addSelectionHandler(SelectionHandler<TreeItem> handler) (package private) voidTreeItem.addTreeItems(List<TreeItem> accum) voidListenerWrapper.WrappedTreeListener.onClose(CloseEvent<TreeItem> event) voidvoidListenerWrapper.WrappedTreeListener.onSelection(SelectionEvent<TreeItem> event)
SelectionHandler.onSelection(com.google.gwt.event.logical.shared.SelectionEvent)instead