org.jurvis.swing.tree
Interface JvCheckedTreeNode

All Superinterfaces:
TreeNode
All Known Implementing Classes:
JvDynamicCheckedTreeNode

public interface JvCheckedTreeNode
extends TreeNode

A TreeNode that may be checked or unchecked. Each node may independently be enabled or disabled.

Author:
Neil W. Weber

Method Summary
 Icon getIcon()
          Return the icon associated with this node.
 boolean hasCheckBox()
          Return true if the node may be checked.
 boolean isChecked()
          Return true if the node is checked.
 boolean isEnabled()
          Return true if the node is enabled.
 void setChecked(boolean checked)
          Set the checked status of the node.
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

isEnabled

boolean isEnabled()
Return true if the node is enabled.


hasCheckBox

boolean hasCheckBox()
Return true if the node may be checked.


isChecked

boolean isChecked()
Return true if the node is checked.


setChecked

void setChecked(boolean checked)
Set the checked status of the node.

Parameters:
checked - true if the node is checked; false otherwise

getIcon

Icon getIcon()
Return the icon associated with this node.

Returns:
the icon associated with this node; may be null


Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.