Class TreeStatusPane
java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatusPane
- All Implemented Interfaces:
EventListener
,TreeSelectionListener
- Author:
- Khyrul Bashar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPanel()
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.
-
Constructor Details
-
TreeStatusPane
Constructor.- Parameters:
targetTree
- The tree instance that this status pane will correspond.
-
-
Method Details
-
getPanel
Return the panel of this TreeStatusPane.- Returns:
- JPanel instance.
-
updateTreeStatus
In case of document changing this should be called to update TreeStatus value of the pane.- Parameters:
statusObj
- TreeStatus instance.
-
valueChanged
Tree selection change listener which updates status string.- Specified by:
valueChanged
in interfaceTreeSelectionListener
- Parameters:
treeSelectionEvent
-
-