Interface PopupMenuFactory

    • Method Detail

      • createPopupMenu

        JPopupMenu createPopupMenu​(Component component)
        Creates the popup menu for the given component. This method is called by the PopupMenuHandler registered on the given component.
        Parameters:
        component - the source component
        See Also:
        PopupMenuFactory, PopupMenuHandler
      • createPopupMenu

        JPopupMenu createPopupMenu​(MouseEvent event)
        Creates the popup menu for the given mouse event. This method is called by the PopupMenuHandler registered on the event fired component.
        Parameters:
        event - the fired mouse event
        See Also:
        PopupMenuFactory, PopupMenuHandler