All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.tools.widgets.TreeNode
java.lang.Object
   |
   +----w3c.tools.widgets.TreeNode
  -  public class TreeNode
  -  extends Object
The representation of a node of a TreeBrowser.
 A TreeNode is used internally by the TreeBrowser to store informations
 related to a node.
 It is also given as parameter in the notifications the TreeBrowser send to
 handlers.
    -  See Also:
    
-  TreeBrowser, NodeHandler
   
  -   NOCHILD NOCHILD
-  
   
  -   getChildren() getChildren()
-   Gets the children
  
-   getHandler() getHandler()
-   Gets the handler.
  
-   getIcon() getIcon()
-   Gets the current Icon.
  
-   getItem() getItem()
-   Gets the item.
  
-   getLabel() getLabel()
-   Gets the label.
  
-   isSelected() isSelected()
-   Checks if the Node is selected.
  
-   setChildren(int) setChildren(int)
-   Sets the children
 
  
-   setIcon(Image) setIcon(Image)
-   Sets the icon.
  
-   setLabel(String) setLabel(String)
-   Sets the label.
   
 NOCHILD
NOCHILD
 public static final int NOCHILD
   
 getItem
getItem
 public Object getItem()
  -  Gets the item.
 
 getLabel
getLabel
 public String getLabel()
  -  Gets the label.
   
- 
    -  See Also:
    
-  setLabel
  
 
 getIcon
getIcon
 public Image getIcon()
  -  Gets the current Icon.
   
- 
    -  See Also:
    
-  setIcon
  
 
 getHandler
getHandler
 public NodeHandler getHandler()
  -  Gets the handler.
 
 getChildren
getChildren
 public int getChildren()
  -  Gets the children
 
 isSelected
isSelected
 public boolean isSelected()
  -  Checks if the Node is selected.
 
 setIcon
setIcon
 public void setIcon(Image i)
  -  Sets the icon.
   
- 
    -  See Also:
    
-  getIcon
  
 
 setLabel
setLabel
 public void setLabel(String l)
  -  Sets the label.
   
- 
    -  See Also:
    
-  getLabel
  
 
 setChildren
setChildren
 public void setChildren(int children)
  -  Sets the children
   
- 
    -  See Also:
    
-  getChildren
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index