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.voidinit()Initialization, to be called immediately after construction.voidupdateTreeStatus(TreeStatus statusObj) In case of document changing this should be called to update TreeStatus value of the pane.voidvalueChanged(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
-
init
public void init()Initialization, to be called immediately after construction. -
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:
valueChangedin interfaceTreeSelectionListener- Parameters:
treeSelectionEvent- the selection event
-