fipaos.util.gui
Class JTreeUtil


public class JTreeUtil

Class that provides utility methods for JTree's


Method Summary
 static voidharshRefreshTree(JTree tree, TreeModelListener listener)
          Invoke a complete refresh of the JTree (may cause undesirable GUI interactions - hence its harsh)
 static voidrefreshTree(JTree tree, TreeModelListener listener)
          Validate the given JTree against its TreeModel & propogate differences to the given TreeModelListener - this enables a refresh to occur to the JTree whithout explicit knowledge of the underlying data model and without the need to explicitly determine (from the applications point of view) how the tree needs to updated WARNING: This doesn't currently work!

Method Detail

harshRefreshTree

public static void harshRefreshTree(JTree tree, TreeModelListener listener)
Invoke a complete refresh of the JTree (may cause undesirable GUI interactions - hence its harsh)

refreshTree

public static void refreshTree(JTree tree, TreeModelListener listener)
Validate the given JTree against its TreeModel & propogate differences to the given TreeModelListener - this enables a refresh to occur to the JTree whithout explicit knowledge of the underlying data model and without the need to explicitly determine (from the applications point of view) how the tree needs to updated

WARNING: This doesn't currently work!