Class FSTreeSelectionListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.TreeSelectionListener

    public class FSTreeSelectionListener
    extends java.lang.Object
    implements javax.swing.event.TreeSelectionListener
    Handle selection of annotations in annotation frame. If selected node represents an annotation, highlight the corresponding extent in the text. // * @see FSTreeSelectionEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MainFrame main
      The main.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void valueChanged​(javax.swing.event.TreeSelectionEvent event)
      Value changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • main

        private final MainFrame main
        The main.
    • Constructor Detail

      • FSTreeSelectionListener

        public FSTreeSelectionListener​(MainFrame frame)
        Instantiates a new FS tree selection listener.
        Parameters:
        frame - the frame
    • Method Detail

      • valueChanged

        public void valueChanged​(javax.swing.event.TreeSelectionEvent event)
        Value changed.
        Specified by:
        valueChanged in interface javax.swing.event.TreeSelectionListener
        Parameters:
        event - the event
        See Also:
        TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)