Compiere 3.1

org.compiere.plaf
Class CompiereCheckBoxUI

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.metal.MetalRadioButtonUI
                          extended by javax.swing.plaf.metal.MetalCheckBoxUI
                              extended by org.compiere.plaf.CompiereCheckBoxUI

public class CompiereCheckBoxUI
extends MetalCheckBoxUI

Check Box UI

Version:
$Id: CompiereCheckBoxUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
Author:
Jorg Janke

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
CompiereCheckBoxUI()
           
 
Method Summary
protected  BasicButtonListener createButtonListener(AbstractButton b)
          Create Button Listener
static ComponentUI createUI(JComponent b)
          Create UI
 void installDefaults(AbstractButton b)
          Install Defaults
protected  void paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)
           
protected  void paintIcon(Graphics g, JComponent c, Rectangle iconRect)
           
 
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
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, 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

CompiereCheckBoxUI

public CompiereCheckBoxUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)
Create UI

Parameters:
b -
Returns:
ComponentUI

installDefaults

public void installDefaults(AbstractButton b)
Install Defaults

Overrides:
installDefaults in class MetalCheckBoxUI
Parameters:
b -

createButtonListener

protected BasicButtonListener createButtonListener(AbstractButton b)
Create Button Listener

Overrides:
createButtonListener in class BasicButtonUI
Parameters:
b - button
Returns:
listener

paintIcon

protected void paintIcon(Graphics g,
                         AbstractButton b,
                         Rectangle iconRect)
Overrides:
paintIcon in class BasicToggleButtonUI

paintIcon

protected void paintIcon(Graphics g,
                         JComponent c,
                         Rectangle iconRect)
Overrides:
paintIcon in class BasicButtonUI

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.