Package net.sf.freecol.client.gui.plaf
Class FreeColCheckBoxUI
- 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.metal.MetalRadioButtonUI
-
- javax.swing.plaf.metal.MetalCheckBoxUI
-
- net.sf.freecol.client.gui.plaf.FreeColCheckBoxUI
-
public class FreeColCheckBoxUI extends javax.swing.plaf.metal.MetalCheckBoxUI
Sets the default opaque attribute to false.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
FreeColCheckBoxUI.CheckBoxIcon
-
Constructor Summary
Constructors Constructor Description FreeColCheckBoxUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.Icon
createCheckBoxIcon()
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
void
installUI(javax.swing.JComponent c)
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
-
Methods inherited from class javax.swing.plaf.metal.MetalCheckBoxUI
getPropertyPrefix, installDefaults, uninstallDefaults
-
Methods inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, paintFocus
-
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize
-
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in classjavax.swing.plaf.basic.BasicButtonUI
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
paint
in classjavax.swing.plaf.metal.MetalRadioButtonUI
-
createCheckBoxIcon
public static javax.swing.Icon createCheckBoxIcon()
-
-