ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui.util
Interface CheckableTreeCellRenderer

All Known Implementing Classes:
CheckTreeCellRenderer

public interface CheckableTreeCellRenderer

A TreeCellRenderer, which always returns the same icon as function of checked, expansion and leaf state; for all objects.

Version:
$Revision: 432 $
Author:
Jens Elkner

Method Summary
 CombinedIcon getIcon(boolean isLeaf, boolean isExpanded, boolean isChecked)
          Get the icon to be drawn for the given state of an arbitrary object in a tree.
 

Method Detail

getIcon

CombinedIcon getIcon(boolean isLeaf,
                     boolean isExpanded,
                     boolean isChecked)
Get the icon to be drawn for the given state of an arbitrary object in a tree.

Parameters:
isLeaf - the leaf state of the tree object in question
isExpanded - the expansion state of the object in question
isChecked - the checked state of the tree object in question
Returns:
a combined icon.
See Also:
Checkable, CheckableTreeMouseAdapter

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.