com.metamatrix.toolbox.ui.widget.laf
Class CheckBoxLookAndFeel

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.basic.BasicToggleButtonUI
                  extended by javax.swing.plaf.basic.BasicRadioButtonUI
                      extended by javax.swing.plaf.basic.BasicCheckBoxUI
                          extended by com.metamatrix.toolbox.ui.widget.laf.CheckBoxLookAndFeel

public class CheckBoxLookAndFeel
extends javax.swing.plaf.basic.BasicCheckBoxUI

Since:
Golden Gate
Version:
Golden Gate
Author:
John P. A. Verhaeg

Field Summary
static java.lang.String BOX_BACKGROUND_COLOR_PROPERTY
           
static java.lang.String BOX_DISABLED_BACKGROUND_COLOR_PROPERTY
           
static java.lang.String PARTIALLY_SELECTED_COLOR_PROPERTY
           
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
CheckBoxLookAndFeel()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
           
 void installDefaults(javax.swing.AbstractButton button)
           
 void paint(java.awt.Graphics canvas, javax.swing.JComponent component)
           
protected  void paintFocus(java.awt.Graphics canvas, java.awt.Rectangle textRect, java.awt.Dimension size)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicCheckBoxUI
getPropertyPrefix
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, uninstallDefaults
 
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, 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
 

Field Detail

BOX_BACKGROUND_COLOR_PROPERTY

public static final java.lang.String BOX_BACKGROUND_COLOR_PROPERTY
See Also:
Constant Field Values

BOX_DISABLED_BACKGROUND_COLOR_PROPERTY

public static final java.lang.String BOX_DISABLED_BACKGROUND_COLOR_PROPERTY
See Also:
Constant Field Values

PARTIALLY_SELECTED_COLOR_PROPERTY

public static final java.lang.String PARTIALLY_SELECTED_COLOR_PROPERTY
See Also:
Constant Field Values
Constructor Detail

CheckBoxLookAndFeel

public CheckBoxLookAndFeel()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
Since:
Golden Gate

installDefaults

public void installDefaults(javax.swing.AbstractButton button)
Overrides:
installDefaults in class javax.swing.plaf.basic.BasicRadioButtonUI
Since:
Golden Gate

paint

public void paint(java.awt.Graphics canvas,
                  javax.swing.JComponent component)
Overrides:
paint in class javax.swing.plaf.basic.BasicRadioButtonUI
Since:
Golden Gate

paintFocus

protected void paintFocus(java.awt.Graphics canvas,
                          java.awt.Rectangle textRect,
                          java.awt.Dimension size)
Overrides:
paintFocus in class javax.swing.plaf.basic.BasicRadioButtonUI
Since:
Golden Gate


Copyright © 2009. All Rights Reserved.