Package org.openstreetmap.josm.gui.util
Class StayOpenCheckBoxMenuItemUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.MenuItemUI
-
- javax.swing.plaf.basic.BasicMenuItemUI
-
- javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
-
- org.openstreetmap.josm.gui.util.StayOpenCheckBoxMenuItemUI
-
public class StayOpenCheckBoxMenuItemUI extends javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
A CheckBoxMenuItem UI delegate that doesn't close the menu when selected.- Since:
- 15288
-
-
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
-
-
Constructor Summary
Constructors Constructor Description StayOpenCheckBoxMenuItemUI()
-
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 newStayOpenCheckBoxMenuItemUI
.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
-
-
-
-
Constructor Detail
-
StayOpenCheckBoxMenuItemUI
public StayOpenCheckBoxMenuItemUI()
-
-
Method Detail
-
doClick
protected void doClick(javax.swing.MenuSelectionManager msm)
- Overrides:
doClick
in classjavax.swing.plaf.basic.BasicMenuItemUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
update
in classjavax.swing.plaf.basic.BasicMenuItemUI
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates a newStayOpenCheckBoxMenuItemUI
.- Parameters:
c
- not used- Returns:
- newly created
StayOpenCheckBoxMenuItemUI
-
-