com.jgoodies.looks.plastic
Class PlasticXPCheckBoxUI

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 bycom.jgoodies.looks.plastic.PlasticXPCheckBoxUI

public final class PlasticXPCheckBoxUI
extends MetalCheckBoxUI

The JGoodies PlasticXP l&l implementation of CheckBoxUI. Unlike its superclass, it uses a button listener that sets the armed state if the mouse is over.

Version:
$Revision: 1.2 $
Author:
Karsten Lentzsch

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
PlasticXPCheckBoxUI()
           
 
Method Summary
protected  BasicButtonListener createButtonListener(AbstractButton b)
           
static ComponentUI createUI(JComponent b)
           
 
Methods inherited from class javax.swing.plaf.metal.MetalCheckBoxUI
getPropertyPrefix, installDefaults, 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, 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

PlasticXPCheckBoxUI

public PlasticXPCheckBoxUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

createButtonListener

protected BasicButtonListener createButtonListener(AbstractButton b)


Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.