private void collapseExpandTree( boolean expanded )
  {
    if ( !widgetContainer.getInnerHTML().equals( "" ) )
      setState( expanded );
    if ( hasChildren() )
    {
      for ( TreeItem child : children )
      {
        child.collapseExpandTree( expanded );
      }
    }
    return;
  }