Class TreeStatusPane

java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatusPane
All Implemented Interfaces:
EventListener, TreeSelectionListener

public class TreeStatusPane extends Object implements TreeSelectionListener
Author:
Khyrul Bashar
  • Constructor Details

    • TreeStatusPane

      public TreeStatusPane(JTree targetTree)
      Constructor.
      Parameters:
      targetTree - The tree instance that this status pane will correspond.
  • Method Details

    • getPanel

      public JPanel getPanel()
      Return the panel of this TreeStatusPane.
      Returns:
      JPanel instance.
    • updateTreeStatus

      public void updateTreeStatus(TreeStatus statusObj)
      In case of document changing this should be called to update TreeStatus value of the pane.
      Parameters:
      statusObj - TreeStatus instance.
    • valueChanged

      public void valueChanged(TreeSelectionEvent treeSelectionEvent)
      Tree selection change listener which updates status string.
      Specified by:
      valueChanged in interface TreeSelectionListener
      Parameters:
      treeSelectionEvent -