Class AnnotationFeaturesViewer

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class AnnotationFeaturesViewer extends JPanel implements ActionListener
A tree view of Annotations and associated features.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The Constant serialVersionUID.
      See Also:
    • ROOT

      public static final String ROOT
      The Constant ROOT.
      See Also:
    • scrollPane

      private JScrollPane scrollPane
      The scroll pane.
    • tree

      private JTree tree
      The tree.
    • expandAllButton

      private JButton expandAllButton
      The expand all button.
    • collapseAllButton

      private JButton collapseAllButton
      The collapse all button.
  • Constructor Details

    • AnnotationFeaturesViewer

      public AnnotationFeaturesViewer()
      Instantiates a new annotation features viewer.
  • Method Details

    • populate

      public void populate(AnalysisEngine analysisEngine, AnalysisEngineMetaData aeMetaData)
      Populate.
      Parameters:
      analysisEngine - the analysis engine
      aeMetaData - the ae meta data
    • generateTreeView

      private JTree generateTreeView(AnalysisEngine analysisEngine, AnalysisEngineMetaData aeMetaData)
      Generate tree view.
      Parameters:
      analysisEngine - the analysis engine
      aeMetaData - the ae meta data
      Returns:
      the j tree
    • getSelection

      public String getSelection()
      Gets the selection.
      Returns:
      the selection
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener