Module tvbrowser
Package util.ui

Class ChannelContextMenu

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

    public class ChannelContextMenu
    extends java.lang.Object
    implements java.awt.event.ActionListener
    A class that builds a PopupMenu for a Channel.
    Author:
    René Mach
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Localizer LOCALIZER
      The localizer for this class.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelContextMenu​(java.awt.event.MouseEvent e, Channel ch, java.lang.Object src)
      Constructs the PopupMenu.
    • 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

      • LOCALIZER

        public static final Localizer LOCALIZER
        The localizer for this class.
    • Constructor Detail

      • ChannelContextMenu

        public ChannelContextMenu​(java.awt.event.MouseEvent e,
                                  Channel ch,
                                  java.lang.Object src)
        Constructs the PopupMenu.
        Parameters:
        e - The event that requested the PopupMenu.
        ch - The Channel on which the event was.
        src - The source Object.
    • Method Detail

      • actionPerformed

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