All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.tools.widgets.NodeHandler

public interface NodeHandler
The interface to be implemented by nodes. What is a node is application dependent, however, the informations the browser needs in order to be able do display nodes are obtained through this interface.

See Also:
TreeBrowser

Method Index

 o isDirectory(TreeBrowser, TreeNode)
Checks if the node is a directory.
 o notifyCollapse(TreeBrowser, TreeNode)
Notifies that a node has to be collapsed.
 o notifyExecute(TreeBrowser, TreeNode)
Notifies that a node has to be executed.
 o notifyExpand(TreeBrowser, TreeNode)
Notifies that a node has to be expanded.
 o notifySelect(TreeBrowser, TreeNode)
Notifies that a node has to be selected.

Methods

 o notifySelect
 public abstract void notifySelect(TreeBrowser browser,
                                   TreeNode node)
Notifies that a node has to be selected.

Parameters:
browser - the TreeBrowser sending the notification.
 o notifyExpand
 public abstract void notifyExpand(TreeBrowser browser,
                                   TreeNode node)
Notifies that a node has to be expanded.

Parameters:
browser - the TreeBrowser sending the notification.
 o notifyCollapse
 public abstract void notifyCollapse(TreeBrowser browser,
                                     TreeNode node)
Notifies that a node has to be collapsed.

Parameters:
browser - the TreeBrowser sending the notification.
 o notifyExecute
 public abstract void notifyExecute(TreeBrowser browser,
                                    TreeNode node)
Notifies that a node has to be executed.

Parameters:
browser - the TreeBrowser sending the notification.
 o isDirectory
 public abstract boolean isDirectory(TreeBrowser browser,
                                     TreeNode node)
Checks if the node is a directory.

Parameters:
browser - the TreeBrowser sending the notification.

All Packages  Class Hierarchy  This Package  Previous  Next  Index