Java JTree Model redrawAllTreeCellsRec(DefaultTreeModel treeModel, TreeNode parent)

Here you can find the source of redrawAllTreeCellsRec(DefaultTreeModel treeModel, TreeNode parent)

Description

redraw All Tree Cells Rec

License

BSD License

Declaration

private static void redrawAllTreeCellsRec(DefaultTreeModel treeModel, TreeNode parent) 

Method Source Code

//package com.java2s;
//License from project: BSD License 

import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.TreeNode;

public class Main {
    private static void redrawAllTreeCellsRec(DefaultTreeModel treeModel, TreeNode parent) {
        treeModel.nodeChanged(parent);/*from   ww  w .  j a v a2s  .c o  m*/
        for (int i = 0; i < parent.getChildCount(); i++) {
            redrawAllTreeCellsRec(treeModel, parent.getChildAt(i));
        }
    }
}

Related

  1. getTreeModelSize(TreeModel in)
  2. isTreePathInModel(TreeModel treeModel, TreePath treePath)
  3. logTreeNodes(TreeModel model, Object node, String indent)
  4. nodesChanged(DefaultTreeModel rightTreeModel)
  5. redrawAllTreeCells(DefaultTreeModel treeModel)
  6. searchPath(TreeModel model, TreePath oldPath)
  7. setTreeObjects(TreeModel in, Object root, Object[] items, int index)
  8. setTreePaths(TreeModel in, Object root, TreePath[] items, Object[] path, int index)
  9. showTreeComponent(String blank, TreeModel model, Object node)