net.sourceforge.mlf.metouia
Class MetouiaCheckBoxUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ButtonUI
          extended byjavax.swing.plaf.basic.BasicButtonUI
              extended byjavax.swing.plaf.basic.BasicToggleButtonUI
                  extended byjavax.swing.plaf.basic.BasicRadioButtonUI
                      extended byjavax.swing.plaf.metal.MetalRadioButtonUI
                          extended byjavax.swing.plaf.metal.MetalCheckBoxUI
                              extended bynet.sourceforge.mlf.metouia.MetouiaCheckBoxUI

public class MetouiaCheckBoxUI
extends javax.swing.plaf.metal.MetalCheckBoxUI

This class represents the UI delegate for the JCheckBox component.


Field Summary
 
Fields inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
disabledTextColor, focusColor, selectColor
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
MetouiaCheckBoxUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates the UI delegate for the given component.
 void installDefaults(javax.swing.AbstractButton button)
          Installs some default values for the given button.
 
Methods inherited from class javax.swing.plaf.metal.MetalCheckBoxUI
getPropertyPrefix, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, paint, 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, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetouiaCheckBoxUI

public MetouiaCheckBoxUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates the UI delegate for the given component.

Parameters:
c - The component to create its UI delegate.
Returns:
The UI delegate for the given component.

installDefaults

public void installDefaults(javax.swing.AbstractButton button)
Installs some default values for the given button. The button border is replaced by a metouia border.

Parameters:
button - The reference of the button to install its default values.