com.l2fprod.gui.plaf.skin.impl
Class AbstractSkinButton

java.lang.Object
  extended by com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
      extended by com.l2fprod.gui.plaf.skin.impl.AbstractSkinButton
All Implemented Interfaces:
SkinButton, SkinComponent

public class AbstractSkinButton
extends AbstractSkinComponent
implements SkinButton

Version:
$Revision: 1.1 $, $Date: 2003/08/01 20:05:29 $
Author:
$Author: l2fprod $

Constructor Summary
AbstractSkinButton()
           
AbstractSkinButton(Skin p_ParentSkin)
           
 
Method Summary
 java.awt.Dimension getCheckBoxIconSize()
          Gets the CheckBoxIconSize attribute of the AbstractSkinButton object
 java.awt.Dimension getRadioButtonIconSize()
          Gets the RadioButtonIconSize attribute of the AbstractSkinButton object
 javax.swing.Icon getRadioIcon(javax.swing.AbstractButton b)
          Gets the RadioIcon attribute of the AbstractSkinButton object
 boolean installSkin(javax.swing.JComponent c)
          Description of the Method
 boolean paintButton(java.awt.Graphics g, javax.swing.AbstractButton b)
          Description of the Method
protected  boolean paintDisabledButton(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintNormalButton(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintPressedButton(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintPressedToggle(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintRolloverButton(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintRolloverToggle(java.awt.Graphics g, javax.swing.AbstractButton b)
           
protected  boolean paintToggle(java.awt.Graphics g, javax.swing.AbstractButton b)
           
 boolean status()
          Description of the Method
 
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
getSkin, uninstallSkin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.l2fprod.gui.plaf.skin.SkinComponent
uninstallSkin
 

Constructor Detail

AbstractSkinButton

public AbstractSkinButton()

AbstractSkinButton

public AbstractSkinButton(Skin p_ParentSkin)
Method Detail

getCheckBoxIconSize

public java.awt.Dimension getCheckBoxIconSize()
Gets the CheckBoxIconSize attribute of the AbstractSkinButton object

Specified by:
getCheckBoxIconSize in interface SkinButton
Returns:
The CheckBoxIconSize value

getRadioButtonIconSize

public java.awt.Dimension getRadioButtonIconSize()
Gets the RadioButtonIconSize attribute of the AbstractSkinButton object

Specified by:
getRadioButtonIconSize in interface SkinButton
Returns:
The RadioButtonIconSize value

getRadioIcon

public javax.swing.Icon getRadioIcon(javax.swing.AbstractButton b)
Gets the RadioIcon attribute of the AbstractSkinButton object

Specified by:
getRadioIcon in interface SkinButton
Parameters:
b - Description of Parameter
Returns:
The RadioIcon value

status

public boolean status()
Description of the Method

Specified by:
status in interface SkinComponent
Overrides:
status in class AbstractSkinComponent
Returns:
Description of the Returned Value

installSkin

public boolean installSkin(javax.swing.JComponent c)
Description of the Method

Specified by:
installSkin in interface SkinComponent
Overrides:
installSkin in class AbstractSkinComponent
Parameters:
c - Description of Parameter
Returns:
Description of the Returned Value

paintButton

public final boolean paintButton(java.awt.Graphics g,
                                 javax.swing.AbstractButton b)
Description of the Method

Specified by:
paintButton in interface SkinButton
Parameters:
g - Description of Parameter
b - Description of Parameter
Returns:
Description of the Returned Value

paintDisabledButton

protected boolean paintDisabledButton(java.awt.Graphics g,
                                      javax.swing.AbstractButton b)

paintPressedToggle

protected boolean paintPressedToggle(java.awt.Graphics g,
                                     javax.swing.AbstractButton b)

paintRolloverToggle

protected boolean paintRolloverToggle(java.awt.Graphics g,
                                      javax.swing.AbstractButton b)

paintToggle

protected boolean paintToggle(java.awt.Graphics g,
                              javax.swing.AbstractButton b)

paintPressedButton

protected boolean paintPressedButton(java.awt.Graphics g,
                                     javax.swing.AbstractButton b)

paintRolloverButton

protected boolean paintRolloverButton(java.awt.Graphics g,
                                      javax.swing.AbstractButton b)

paintNormalButton

protected boolean paintNormalButton(java.awt.Graphics g,
                                    javax.swing.AbstractButton b)