Class PopUpMenu

    • Constructor Detail

      • PopUpMenu

        public PopUpMenu()
        LinkingPopupMenu constructor comment.
    • Method Detail

      • addItem

        public static JMenu addItem​(JMenuItem item,
                                    JMenu menu,
                                    int count)
        Insert the method's description here.Creation date: (3.2.2001 10:37:54)
        Parameters:
        count - count
        item - javax.swing.JMenuItem
        menu - javax.swing.JMenu
        Returns:
        javax.swing.JMenu
      • addItem

        public static JMenu addItem​(JMenuItem item,
                                    JMenu menu,
                                    int count,
                                    int itemsPerMenu)
        Parameters:
        item - item
        menu - menu
        count - count
        itemsPerMenu - itemsPerMenu
        Returns:
        something
      • addMoreMenu

        public static JMenu addMoreMenu​(JMenu menu)
        Insert the method's description here. Creation date: (3.2.2001 10:39:45)
        Parameters:
        menu - javax.swing.JMenu
        Returns:
        javax.swing.JMenu
      • getInstance

        public static PopUpMenu getInstance()
        Insert the method's description here. Creation date: (2.2.2001 20:18:55)
        Returns:
        com.cosylab.vdct.graphics.popup.PopUpMenu
      • getSeparator

        public static JSeparator getSeparator()
        Insert the method's description here. Creation date: (2.2.2001 20:18:55)
        Returns:
        javax.swing.JSeparator
      • show

        public void show​(Object dsId,
                         Object object,
                         JComponent component,
                         int x,
                         int y)
        Insert the method's description here. Creation date: (2.2.2001 20:17:37)
        Parameters:
        dsId - dsId
        object - com.cosylab.vdct.graphics.popup.Popupable
        component - javax.swing.JComponent
        x - int
        y - int
      • addPluginItems

        public static void addPluginItems​(Object dsId,
                                          JPopupMenu menu,
                                          Popupable object)
        Helper method which adds plugin items
        Parameters:
        dsId - dsId
        menu - menu
        object - object