| java.lang.Object com.vividsolutions.jump.workbench.ui.TreeUtil
TreeUtil | public class TreeUtil (Code) | | |
Inner Class :public static interface Visitor | |
Method Summary | |
public static boolean | contains(TreeModel model, Object node) | public static TreeCellRenderer | createSimpleTreeCellRenderer(ImageIcon icon) | public static TreeCellRenderer | createSimpleTreeCellRenderer(String text, ImageIcon icon, Font font) | public static TreeModelEvent | createTreeModelEvent(Object source, Object node, TreeModel model) | public static String | dump(TreeModel model) | public static void | expand(JTree tree, TreePath path, Block expandNodeCondition) | public static void | expandAll(JTree tree, TreePath path) | public static TreePath | findTreePath(Object node, TreeModel model) | public static List | lastPathComponents(TreePath[] paths) | public static Collection | nodes(TreePath path, TreeModel model) | public static void | visit(TreeModel model, Visitor visitor) | public static void | visit(TreeModel model, TreePath path, Visitor visitor) Visit the path and all subpaths. |
createSimpleTreeCellRenderer | public static TreeCellRenderer createSimpleTreeCellRenderer(String text, ImageIcon icon, Font font)(Code) | | Parameters: text - null to get the text by calling #toString on the value |
visit | public static void visit(TreeModel model, TreePath path, Visitor visitor)(Code) | | Visit the path and all subpaths.
|
|
|