if (state != null) {
if ("TreeOld".equals(tree.getRendererType())) {
state.clearExpandState();
}
if (isSelectable(tree)) {
state.clearSelection();
}
if (ComponentUtil.getBooleanAttribute(tree, TobagoConstants.ATTR_MUTABLE)) {
state.setMarker(null);
}
// scroll position