Class StayOpenCheckBoxMenuItemUI


  • public class StayOpenCheckBoxMenuItemUI
    extends javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
    A CheckBoxMenuItem UI delegate that doesn't close the menu when selected.
    Since:
    15288
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuItemUI

        javax.swing.plaf.basic.BasicMenuItemUI.MouseInputHandler
    • Field Summary

      • Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI

        acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      Creates a new StayOpenCheckBoxMenuItemUI.
      protected void doClick​(javax.swing.MenuSelectionManager msm)  
      void update​(java.awt.Graphics g, javax.swing.JComponent c)  
      • Methods inherited from class javax.swing.plaf.basic.BasicCheckBoxMenuItemUI

        getPropertyPrefix, processMouseEvent
      • Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI

        createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • doClick

        protected void doClick​(javax.swing.MenuSelectionManager msm)
        Overrides:
        doClick in class javax.swing.plaf.basic.BasicMenuItemUI
      • update

        public void update​(java.awt.Graphics g,
                           javax.swing.JComponent c)
        Overrides:
        update in class javax.swing.plaf.basic.BasicMenuItemUI
      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
        Creates a new StayOpenCheckBoxMenuItemUI.
        Parameters:
        c - not used
        Returns:
        newly created StayOpenCheckBoxMenuItemUI