Module java.desktop

Class BasicRadioButtonMenuItemUI


  • public class BasicRadioButtonMenuItemUI
    extends BasicMenuItemUI
    BasicRadioButtonMenuItem implementation
    • Constructor Detail

      • BasicRadioButtonMenuItemUI

        public BasicRadioButtonMenuItemUI()
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent b)
        Returns a new instance of BasicRadioButtonMenuItemUI.
        Parameters:
        b - a component
        Returns:
        a new instance of BasicRadioButtonMenuItemUI
      • 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