com.alee.extended.tree
Interface CheckBoxTreeCellRenderer

All Superinterfaces:
javax.swing.tree.TreeCellRenderer
All Known Implementing Classes:
WebCheckBoxTreeCellRenderer

public interface CheckBoxTreeCellRenderer
extends javax.swing.tree.TreeCellRenderer

Base for any checkbox tree cell renderer.

Author:
Mikle Garin

Method Summary
 WebTristateCheckBox getCheckBox()
          Returns checkbox used for rendering.
 int getCheckBoxRendererGap()
          Returns gap between checkbox and actual cell renderer.
 int getCheckBoxWidth()
          Returns checkbox part width in this cell renderer.
 void setCheckBoxRendererGap(int checkBoxRendererGap)
          Sets gap between checkbox and actual cell renderer.
 
Methods inherited from interface javax.swing.tree.TreeCellRenderer
getTreeCellRendererComponent
 

Method Detail

getCheckBoxRendererGap

int getCheckBoxRendererGap()
Returns gap between checkbox and actual cell renderer.

Returns:
gap between checkbox and actual cell renderer

setCheckBoxRendererGap

void setCheckBoxRendererGap(int checkBoxRendererGap)
Sets gap between checkbox and actual cell renderer.

Parameters:
checkBoxRendererGap - new gap between checkbox and actual cell renderer

getCheckBoxWidth

int getCheckBoxWidth()
Returns checkbox part width in this cell renderer.

Returns:
checkbox part width in this cell renderer

getCheckBox

WebTristateCheckBox getCheckBox()
Returns checkbox used for rendering.

Returns:
checkbox used for rendering