Class HudCheckBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.basic.BasicRadioButtonUI
javax.swing.plaf.basic.BasicCheckBoxUI
com.explodingpixels.macwidgets.plaf.HudCheckBoxUI
Creates a Heads Up Display (HUD) style check box button, similar to that seen in various iApps
(e.g. iPhoto).


-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
iconFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
ConstructorsConstructorDescriptionCreates a HUD style.invalid reference
javax.swing.plaf.CheckBoxUIHudCheckBoxUI(boolean isDarkColorScheme) Creates a HUD style.invalid reference
javax.swing.plaf.CheckBoxUI -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidpaint(Graphics g, JComponent c) protected voidpaintText(Graphics g, JComponent c, Rectangle textRect, String text) Methods inherited from class javax.swing.plaf.basic.BasicCheckBoxUI
createUI, getPropertyPrefixMethods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, paintFocus, uninstallDefaultsMethods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIconMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
HudCheckBoxUI
public HudCheckBoxUI()Creates a HUD style.invalid reference
javax.swing.plaf.CheckBoxUI -
HudCheckBoxUI
public HudCheckBoxUI(boolean isDarkColorScheme) Creates a HUD style.invalid reference
javax.swing.plaf.CheckBoxUI
-
-
Method Details
-
installDefaults
- Overrides:
installDefaultsin classBasicRadioButtonUI
-
paint
- Overrides:
paintin classBasicRadioButtonUI
-
paintText
- Overrides:
paintTextin classBasicButtonUI
-