File:
[Public] /
java /
classes /
org /
w3c /
tools /
widgets /
NodeHandler.java
Revision
1.6:
download - view:
text,
annotated -
select for diffs
Wed Aug 16 21:37:56 2000 UTC (25 years, 4 months ago) by
ylafon
Branches:
MAIN
CVS tags:
rel-2-2,
R_2_2_6_B0,
R_2_2_5_B0,
R_2_2_4_B0,
R_2_2_3_B1,
R_2_2_2_B0,
R_2_2_1_B0,
R_2_2_0_B0,
HEAD
Fixed import statements and removed extra empty lines
// NodeHandler.java
// $Id: NodeHandler.java,v 1.6 2000/08/16 21:37:56 ylafon Exp $
// Author: Jean-Michel.Leon@sophia.inria.fr
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.tools.widgets;
/**
* 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 TreeBrowser
*/
public interface NodeHandler {
/**
* Notifies that a node has to be selected.
*
* @param browser the TreeBrowser sending the notification.
*/
public void notifySelect(TreeBrowser browser, TreeNode node) ;
/**
* Notifies that a node has to be expanded.
*
* @param browser the TreeBrowser sending the notification.
*/
public void notifyExpand(TreeBrowser browser, TreeNode node) ;
/**
* Notifies that a node has to be collapsed.
*
* @param browser the TreeBrowser sending the notification.
*/
public void notifyCollapse(TreeBrowser browser, TreeNode node) ;
/**
* Notifies that a node has to be executed.
*
* @param browser the TreeBrowser sending the notification.
*/
public void notifyExecute(TreeBrowser browser, TreeNode node) ;
/**
* Checks if the node is a directory.
*
* @param browser the TreeBrowser sending the notification.
*/
public boolean isDirectory(TreeBrowser browser, TreeNode node) ;
}
Webmaster