|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
TreeBrowser
Method Summary | |
---|---|
boolean |
isDirectory(TreeBrowser browser,
TreeNode node)
Checks if the node is a directory. |
void |
notifyCollapse(TreeBrowser browser,
TreeNode node)
Notifies that a node has to be collapsed. |
void |
notifyExecute(TreeBrowser browser,
TreeNode node)
Notifies that a node has to be executed. |
void |
notifyExpand(TreeBrowser browser,
TreeNode node)
Notifies that a node has to be expanded. |
void |
notifySelect(TreeBrowser browser,
TreeNode node)
Notifies that a node has to be selected. |
Method Detail |
---|
void notifySelect(TreeBrowser browser, TreeNode node)
browser
- the TreeBrowser sending the notification.void notifyExpand(TreeBrowser browser, TreeNode node)
browser
- the TreeBrowser sending the notification.void notifyCollapse(TreeBrowser browser, TreeNode node)
browser
- the TreeBrowser sending the notification.void notifyExecute(TreeBrowser browser, TreeNode node)
browser
- the TreeBrowser sending the notification.boolean isDirectory(TreeBrowser browser, TreeNode node)
browser
- the TreeBrowser sending the notification.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |