Class PopupHandler

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener

    public class PopupHandler
    extends java.lang.Object
    implements java.awt.event.ActionListener
    Action handler for text pop-up menu items. Select chosen annotation in FS tree, make visible.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MainFrame main
      The main.
      private int node
      The node.
    • Constructor Summary

      Constructors 
      Constructor Description
      PopupHandler​(MainFrame frame, int n)
      Instantiates a new popup handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)  
      • 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.
      • node

        private final int node
        The node.
    • Constructor Detail

      • PopupHandler

        public PopupHandler​(MainFrame frame,
                            int n)
        Instantiates a new popup handler.
        Parameters:
        frame - the frame
        n - the n
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener