Class ViewMenuBuilder.MenuDragOp

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.MenuDragMouseListener
    Enclosing class:
    ViewMenuBuilder

    private class ViewMenuBuilder.MenuDragOp
    extends java.lang.Object
    implements javax.swing.event.MenuDragMouseListener
    Class for listening to dragging events within a menu.
    Author:
    senseneyj
    • Constructor Detail

      • MenuDragOp

        private MenuDragOp()
    • Method Detail

      • menuDragMouseDragged

        public void menuDragMouseDragged​(javax.swing.event.MenuDragMouseEvent e)
        Specified by:
        menuDragMouseDragged in interface javax.swing.event.MenuDragMouseListener
      • menuDragMouseEntered

        public void menuDragMouseEntered​(javax.swing.event.MenuDragMouseEvent e)
        Specified by:
        menuDragMouseEntered in interface javax.swing.event.MenuDragMouseListener
      • menuDragMouseExited

        public void menuDragMouseExited​(javax.swing.event.MenuDragMouseEvent e)
        Specified by:
        menuDragMouseExited in interface javax.swing.event.MenuDragMouseListener
      • menuDragMouseReleased

        public void menuDragMouseReleased​(javax.swing.event.MenuDragMouseEvent e)
        Specified by:
        menuDragMouseReleased in interface javax.swing.event.MenuDragMouseListener
      • getCount

        private int getCount​(javax.swing.JComponent comp)
      • getComponent

        private javax.swing.JMenuItem getComponent​(javax.swing.JComponent comp,
                                                   int index)
      • testComponent

        private java.awt.Component testComponent​(javax.swing.JComponent comp,
                                                 int index)