All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface dtai.gwt.TreeNode

public interface TreeNode
extends TreeItem
Objects of the TreeNode class hold the pertinent information about TreeViewGadget objects, such as name, attributes, etc.


Method Index

 o add(TreeItem)
add
 o alterVisibleCount(int)
change the number of visible items
 o getItem(int)
getItem
 o getItemCount()
getItemCount
 o getItemIndex(TreeItem)
getItemIndex
 o getItems()
getItems
 o insert(TreeItem, int)
insert
 o isExpanded()
isExpanded
 o remove(int)
remove
 o remove(TreeItem)
remove
 o setExpanded(boolean)
setExpanded

Methods

 o add
 public abstract void add(TreeItem child)
add

Parameters:
child - the TreeItem to be added as a child of this TreeNode
 o insert
 public abstract void insert(TreeItem child,
                             int pos)
insert

Parameters:
child - the TreeItem to be inserted as a child of this TreeNode
pos - position of the child to be inserted
 o remove
 public abstract void remove(TreeItem child)
remove

Parameters:
child - the TreeItem to be a child of this TreeNode
 o remove
 public abstract void remove(int pos)
remove

Parameters:
pos - the position to be removed
 o getItemCount
 public abstract int getItemCount()
getItemCount

Returns:
int
 o getItems
 public abstract TreeItem[] getItems()
getItems

Returns:
TreeItem[]
 o getItem
 public abstract TreeItem getItem(int i)
getItem

Parameters:
i - the position of the item to be returned
Returns:
TreeItem
 o getItemIndex
 public abstract int getItemIndex(TreeItem item)
getItemIndex

Parameters:
item - the item whose index is wanted
Returns:
int
 o setExpanded
 public abstract void setExpanded(boolean expanded)
setExpanded

Parameters:
expanded - new value for expanded variable
 o isExpanded
 public abstract boolean isExpanded()
isExpanded

Returns:
boolean
 o alterVisibleCount
 public abstract void alterVisibleCount(int change)
change the number of visible items

Parameters:
change - the number by which the visible descendent count changes

All Packages  Class Hierarchy  This Package  Previous  Next  Index