Package jmri.util.swing
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
-
- jmri.util.swing.StayOpenCheckBoxMenuItemUI
-
public class StayOpenCheckBoxMenuItemUI extends javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
UI for StayOpenCheckBoxItem or JCheckBoxMenuItem. Does not close menu that the CheckBox is in when set. JCheckBoxMenuItem items in Popup menus require this UI to stay open. Does NOT work with Nimbus LAF, does not display checked check-boxes.
-
-
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)
protected void
doClick(javax.swing.MenuSelectionManager msm)
-
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, update
-
-
-
-
Constructor Detail
-
StayOpenCheckBoxMenuItemUI
public StayOpenCheckBoxMenuItemUI()
-
-