Class FlatRadioButtonMenuItemUI


  • public class FlatRadioButtonMenuItemUI
    extends javax.swing.plaf.basic.BasicRadioButtonMenuItemUI
    Provides the Flat LaF UI delegate for JRadioButtonMenuItem.
    UiDefault:
    RadioButtonMenuItem.font Font, RadioButtonMenuItem.background Color, RadioButtonMenuItem.foreground Color, RadioButtonMenuItem.disabledForeground Color, RadioButtonMenuItem.selectionBackground Color, RadioButtonMenuItem.selectionForeground Color, RadioButtonMenuItem.acceleratorForeground Color, RadioButtonMenuItem.acceleratorSelectionForeground Color, MenuItem.acceleratorFont Font defaults to MenuItem.font, MenuItem.acceleratorDelimiter String, RadioButtonMenuItem.border Border, RadioButtonMenuItem.borderPainted boolean, RadioButtonMenuItem.margin Insets, RadioButtonMenuItem.arrowIcon Icon, RadioButtonMenuItem.checkIcon Icon, RadioButtonMenuItem.opaque boolean , MenuItem.iconTextGap int
    • 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
      protected FlatMenuItemRenderer createRenderer()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      protected java.awt.Dimension getPreferredMenuItemSize​(javax.swing.JComponent c, javax.swing.Icon checkIcon, javax.swing.Icon arrowIcon, int defaultTextIconGap)  
      protected void installDefaults()  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      protected void uninstallDefaults()  
      • Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonMenuItemUI

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

        createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredSize, installComponents, installKeyboardActions, installListeners, installUI, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
      • 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
    • Constructor Detail

      • FlatRadioButtonMenuItemUI

        public FlatRadioButtonMenuItemUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installDefaults

        protected void installDefaults()
        Overrides:
        installDefaults in class javax.swing.plaf.basic.BasicMenuItemUI
      • uninstallDefaults

        protected void uninstallDefaults()
        Overrides:
        uninstallDefaults in class javax.swing.plaf.basic.BasicMenuItemUI
      • getPreferredMenuItemSize

        protected java.awt.Dimension getPreferredMenuItemSize​(javax.swing.JComponent c,
                                                              javax.swing.Icon checkIcon,
                                                              javax.swing.Icon arrowIcon,
                                                              int defaultTextIconGap)
        Overrides:
        getPreferredMenuItemSize in class javax.swing.plaf.basic.BasicMenuItemUI
      • paint

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