Methods Summary |
---|
public TreeCellRenderer | getCellRenderer()
return this.cellRenderer;
|
public javax.swing.event.TreeSelectionListener | getSelectionListener()
return this.selectionListener;
|
public javax.swing.JTree | getTree()
return this.tree;
|
public javax.swing.tree.TreeModel | getTreeModel()
return this.tm;
|
private void | initComponents()This method is called from within the constructor to
initialize the form.
WARNING: Do NOT modify this code. The content of this method is
always regenerated by the Form Editor.
tree = new javax.swing.JTree();
tree.setCellRenderer(getCellRenderer());
tree.setModel(getTreeModel());
tree.setAutoscrolls(true);
|
public void | refreshTree(boolean force)
try
{
this.tm.refreshTree (force);
}
catch (Exception displayed)
{
displayed.printStackTrace();
}
|