Module java.desktop

Class BasicCheckBoxMenuItemUI



  • public class BasicCheckBoxMenuItemUI
    extends BasicMenuItemUI
    BasicCheckboxMenuItem implementation
    • Constructor Detail

      • BasicCheckBoxMenuItemUI

        public BasicCheckBoxMenuItemUI​()
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent c)
        Constructs a new instance of BasicCheckBoxMenuItemUI.
        Parameters:
        c - a component
        Returns:
        a new instance of BasicCheckBoxMenuItemUI
      • processMouseEvent

        public void processMouseEvent​(JMenuItem item,
                                      MouseEvent e,
                                      MenuElement[] path,
                                      MenuSelectionManager manager)
        Invoked when mouse event occurs.
        Parameters:
        item - a menu item
        e - a mouse event
        path - an array of MenuElement
        manager - an instance of MenuSelectionManager