Class TreeStatusPane
java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatusPane
- All Implemented Interfaces:
EventListener,TreeSelectionListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Borderprivate Borderprivate JPanelprivate JTextFieldprivate TreeStatusprivate final Actionprivate JTree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPanel()Return the panel of this TreeStatusPane.private voidinit()private voidupdateText(String statusString) 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.
-
Field Details
-
statusObj
-
tree
-
statusField
-
panel
-
defaultBorder
-
errorBorder
-
textInputAction
-
-
Constructor Details
-
TreeStatusPane
Constructor.- Parameters:
targetTree- The tree instance that this status pane will correspond.
-
-
Method Details
-
init
private void init() -
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.
-
updateText
-
valueChanged
Tree selection change listener which updates status string.- Specified by:
valueChangedin interfaceTreeSelectionListener- Parameters:
treeSelectionEvent-
-