All Packages Class Hierarchy This Package Previous Next Index
Class dtai.gwt.TreeViewGadget
java.lang.Object
|
+----dtai.gwt.Gadget
|
+----dtai.gwt.ContainerGadget
|
+----dtai.gwt.PanelGadget
|
+----dtai.gwt.BorderGadget
|
+----dtai.gwt.ScrollPaneGadget
|
+----dtai.gwt.TreeViewGadget
- public class TreeViewGadget
- extends ScrollPaneGadget
- implements TreeSelectable
The TreeViewGadget class holds as a component the TreeViewGadget menu.
-
treePanel
-
-
TreeViewGadget()
- Constructor creates an explorer menu gadget
for user interaction.
-
TreeViewGadget(TreeNode)
- TreeViewGadget
-
addActionListener(ActionListener)
- Adds the specified action listener to receive action events
from this list.
-
addTreeListener(TreeListener)
- Adds the specified tree item listener to recieve tree item events from this list.
-
adjustmentValueChanged(AdjustmentEvent)
- adjustmentValueChanged
-
doLayout()
- doLayout
-
getIgnoreDefaultAction()
- getIgnoreDefaultAction
-
getNumVisible()
- getNumVisible
-
getRoot()
- returns the root item in the tree
-
getSelectedTreeItem()
- getSelectedTreeItem
-
getTopIndex()
- getTopIndex
-
removeActionListener(ActionListener)
- Removes the specified action listener so it no longer receives action events from this list.
-
removeTreeListener(TreeListener)
- Removes the specified tree item listener so it no longer
receives tree item events from this list.
-
select(TreeItem)
- select
-
setIgnoreDefaultAction(boolean)
- setIgnoreDefaultAction
-
setRoot(TreeNode)
- setRoot
treePanel
public TreePanel treePanel
TreeViewGadget
public TreeViewGadget()
- Constructor creates an explorer menu gadget
for user interaction.
- Parameters:
- warehouse - the warehouse at the root of
the overlay tree
- path - path to the warehouse-will be
converted to a url
TreeViewGadget
public TreeViewGadget(TreeNode root)
- TreeViewGadget
- Parameters:
- roo - - TBD
setRoot
public void setRoot(TreeNode root)
- setRoot
- Parameters:
- root - - TBD
getRoot
public TreeItem getRoot()
- returns the root item in the tree
- Returns:
- root
doLayout
public void doLayout()
- doLayout
- Overrides:
- doLayout in class ScrollPaneGadget
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
- adjustmentValueChanged
- Parameters:
- e - - TBD
- Overrides:
- adjustmentValueChanged in class ScrollPaneGadget
getNumVisible
public int getNumVisible()
- getNumVisible
- Returns:
- int
getTopIndex
public int getTopIndex()
- getTopIndex
- Returns:
- int
getIgnoreDefaultAction
public boolean getIgnoreDefaultAction()
- getIgnoreDefaultAction
- Returns:
- boolean
setIgnoreDefaultAction
public void setIgnoreDefaultAction(boolean ignoreDefaultAction)
- setIgnoreDefaultAction
- Parameters:
- ignoreDefaultAction - - TBD
getSelectedTreeItem
public TreeItem getSelectedTreeItem()
- getSelectedTreeItem
- Returns:
- TreeItem
select
public void select(TreeItem item)
- select
- Parameters:
- item - - TBD
addActionListener
public void addActionListener(ActionListener l)
- Adds the specified action listener to receive action events
from this list. Action events occur when a list item is double-clicked.
- Parameters:
- l - - the action listener
removeActionListener
public void removeActionListener(ActionListener l)
- Removes the specified action listener so it no longer receives action events from this list.
- Parameters:
- l - - the action listener
addTreeListener
public void addTreeListener(TreeListener l)
- Adds the specified tree item listener to recieve tree item events from this list.
- Parameters:
- l - - the tree item listener
removeTreeListener
public void removeTreeListener(TreeListener l)
- Removes the specified tree item listener so it no longer
receives tree item events from this list.
- Parameters:
- l - - the tree item listener
All Packages Class Hierarchy This Package Previous Next Index