Package com.l2fprod.gui.plaf.skin.impl
Class AbstractSkinButton
- java.lang.Object
-
- com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
-
- 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
Constructors Constructor Description AbstractSkinButton()
AbstractSkinButton(Skin p_ParentSkin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Dimension
getCheckBoxIconSize()
Gets the CheckBoxIconSize attribute of the AbstractSkinButton objectjava.awt.Dimension
getRadioButtonIconSize()
Gets the RadioButtonIconSize attribute of the AbstractSkinButton objectjavax.swing.Icon
getRadioIcon(javax.swing.AbstractButton b)
Gets the RadioIcon attribute of the AbstractSkinButton objectboolean
installSkin(javax.swing.JComponent c)
Description of the Methodboolean
paintButton(java.awt.Graphics g, javax.swing.AbstractButton b)
Description of the Methodprotected 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 interfaceSkinButton
- Returns:
- The CheckBoxIconSize value
-
getRadioButtonIconSize
public java.awt.Dimension getRadioButtonIconSize()
Gets the RadioButtonIconSize attribute of the AbstractSkinButton object- Specified by:
getRadioButtonIconSize
in interfaceSkinButton
- 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 interfaceSkinButton
- Parameters:
b
- Description of Parameter- Returns:
- The RadioIcon value
-
status
public boolean status()
Description of the Method- Specified by:
status
in interfaceSkinComponent
- Overrides:
status
in classAbstractSkinComponent
- Returns:
- Description of the Returned Value
-
installSkin
public boolean installSkin(javax.swing.JComponent c)
Description of the Method- Specified by:
installSkin
in interfaceSkinComponent
- Overrides:
installSkin
in classAbstractSkinComponent
- 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 interfaceSkinButton
- Parameters:
g
- Description of Parameterb
- 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)
-
-