public class StayOpenCheckBoxMenuItemUI extends javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
Constructor and Description |
---|
StayOpenCheckBoxMenuItemUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a new
StayOpenCheckBoxMenuItemUI . |
protected void |
doClick(javax.swing.MenuSelectionManager msm) |
protected void |
paintBackground(java.awt.Graphics g,
javax.swing.JMenuItem menuItem,
java.awt.Color bgColor) |
protected void |
paintText(java.awt.Graphics g,
javax.swing.JMenuItem menuItem,
java.awt.Rectangle textRect,
java.lang.String text) |
getPropertyPrefix, processMouseEvent
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintMenuItem, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
public StayOpenCheckBoxMenuItemUI()
protected void doClick(javax.swing.MenuSelectionManager msm)
doClick
in class javax.swing.plaf.basic.BasicMenuItemUI
protected void paintBackground(java.awt.Graphics g, javax.swing.JMenuItem menuItem, java.awt.Color bgColor)
paintBackground
in class javax.swing.plaf.basic.BasicMenuItemUI
protected void paintText(java.awt.Graphics g, javax.swing.JMenuItem menuItem, java.awt.Rectangle textRect, java.lang.String text)
paintText
in class javax.swing.plaf.basic.BasicMenuItemUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
StayOpenCheckBoxMenuItemUI
.c
- not usedStayOpenCheckBoxMenuItemUI