Class TreeStatusPane
java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatusPane
- All Implemented Interfaces:
EventListener
,TreeSelectionListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Border
private Border
private JPanel
private JTextField
private TreeStatus
private final Action
private JTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPanel()
Return the panel of this TreeStatusPane.private void
init()
private void
updateText
(String statusString) 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.
-
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:
valueChanged
in interfaceTreeSelectionListener
- Parameters:
treeSelectionEvent
-
-