public class TreeExplorer
extends ExplorerPanel
| Modifier | Constructor and Description |
|---|---|
|
TreeExplorer()
Creates an explorer with the default model and the default view
|
protected |
TreeExplorer(TreeViewTreeAccess view)
Creates an explorer with the specified view
|
| Modifier and Type | Method and Description |
|---|---|
GPNode |
getRootNode()
accessor method
|
int |
getRowHeight() |
TreeViewTreeAccess |
getTreeAccess()
getter method
|
void |
setRootNode(GPNode node)
set the root node of the hierarachy to be explored
|
void |
setRowHeigth(int rowHeight)
set the height of the rows as in
JTree.setRowHeight(int) or JTable.setRowHeight(int) |
public TreeExplorer()
protected TreeExplorer(TreeViewTreeAccess view)
view - the TreeView to be used in this explorerpublic TreeViewTreeAccess getTreeAccess()
public void setRootNode(GPNode node)
node - the root nodepublic GPNode getRootNode()
public void setRowHeigth(int rowHeight)
JTree.setRowHeight(int) or JTable.setRowHeight(int)rowHeight - public int getRowHeight()
#setRowHeight(int)