protected boolean inDepthBasedRender = false;
protected I_ListGenerator listGenerator = null;
protected void recheckCheckBoxes (I_Renderable aRenderable)
{
MCheckBox theCheckBox = (MCheckBox) aRenderable;
container = theCheckBox.getParent ();
listGenerator = (container.getRenderer () instanceof I_ListGenerator ?
((I_ListGenerator) container.getRenderer ()) :
this);
int theIndex = container.getComponentIndex (theCheckBox);
if (theIndex == 0 ||
! (container.getComponent (theIndex - 1) instanceof MCheckBox))
{
renderable = theCheckBox;
representativeRenderable = theCheckBox;
firstIndex = theIndex;
theCheckBox.addActionListener (this);
}
else
{
theCheckBox.removeActionListener (this);
}
checkboxes = getCheckBoxes (aRenderable);
}