public class TreeStatusPane extends Object implements TreeSelectionListener
Constructor and Description |
---|
TreeStatusPane(JTree targetTree)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JPanel |
getPanel()
Return the panel of this TreeStatusPane.
|
void |
updateTreeStatus(TreeStatus statusObj)
In case of document changing this should be called to update TreeStatus value of the pane.
|
void |
valueChanged(TreeSelectionEvent treeSelectionEvent)
Tree selection change listener which updates status string.
|
public TreeStatusPane(JTree targetTree)
targetTree
- The tree instance that this status pane will correspond.public JPanel getPanel()
public void updateTreeStatus(TreeStatus statusObj)
statusObj
- TreeStatus instance.public void valueChanged(TreeSelectionEvent treeSelectionEvent)
valueChanged
in interface TreeSelectionListener
treeSelectionEvent
- Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.