public void updateSubTreeCheckingConsistency(TreePath path){
  if (isPathGreyed(path)) {
    for (    TreePath childPath : getChildrenPath(path)) {
      updateSubTreeCheckingConsistency(childPath);
    }
    updatePathGreyness(path);
  }
 else {
    if (isPathChecked(path)) {
      checkSubTree(path);
    }
 else {
      uncheckSubTree(path);
    }
    return;
  }
}

public void updateSubTreeCheckingConsistency ( TreePath path ) { if ( isPathGreyed ( path ) ) { for ( TreePath childPath : getChildrenPath ( path ) ) { updateSubTreeCheckingConsistency ( childPath ) ; } updatePathGreyness ( path ) ; } else { if ( isPathChecked ( path ) ) { checkSubTree ( path ) ; } else { uncheckSubTree ( path ) ; } return ; } }
updates consistency of the checking of sub - tree starting at path . it ' s based on paths greyness . todo : test this method , never used
