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

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

public class AbstractSkinPersonality
extends AbstractSkinComponent
implements SkinPersonality

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

Constructor Summary
AbstractSkinPersonality()
           
 
Method Summary
 javax.swing.ListCellRenderer createListCellRenderer()
          Description of the Method
 javax.swing.table.TableCellRenderer createTableHeaderRenderer()
          Description of the Method
 java.awt.Insets getComboBoxInsets()
          Gets the ComboBoxInsets attribute of the AbstractSkinPersonality object
 java.awt.Dimension getComboBoxPreferredSize(javax.swing.JComboBox c)
          Gets the ComboBoxPreferredSize attribute of the AbstractSkinPersonality object
 javax.swing.table.TableCellRenderer getTableHeaderRenderer()
          Gets the TableHeaderRenderer attribute of the AbstractSkinPersonality object
 boolean installSkin(javax.swing.JComponent c)
          Description of the Method
 boolean paintBackground(java.awt.Graphics g, java.awt.Component c)
          Description of the Method
 boolean paintComboBox(java.awt.Graphics g, javax.swing.JComboBox c, java.awt.Rectangle bounds, boolean hasFocus, boolean isRollover)
          Description of the Method
 boolean paintDialog(java.awt.Graphics g, java.awt.Component c)
          Description of the Method
 boolean paintFocus(java.awt.Graphics g, javax.swing.JComponent c)
          Description of the Method
 boolean paintMenu(java.awt.Graphics g, javax.swing.JMenu c)
          Description of the Method
 boolean paintMenuItem(java.awt.Graphics g, javax.swing.JMenuItem c)
          Description of the Method
 boolean status()
          Description of the Method
 void uninstallSkin(javax.swing.JComponent c)
           
 
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
getSkin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSkinPersonality

public AbstractSkinPersonality()
Method Detail

getComboBoxInsets

public java.awt.Insets getComboBoxInsets()
Gets the ComboBoxInsets attribute of the AbstractSkinPersonality object

Specified by:
getComboBoxInsets in interface SkinPersonality
Returns:
The ComboBoxInsets value

getComboBoxPreferredSize

public java.awt.Dimension getComboBoxPreferredSize(javax.swing.JComboBox c)
Gets the ComboBoxPreferredSize attribute of the AbstractSkinPersonality object

Specified by:
getComboBoxPreferredSize in interface SkinPersonality
Parameters:
c - Description of Parameter
Returns:
The ComboBoxPreferredSize value

getTableHeaderRenderer

public javax.swing.table.TableCellRenderer getTableHeaderRenderer()
Gets the TableHeaderRenderer attribute of the AbstractSkinPersonality object

Specified by:
getTableHeaderRenderer in interface SkinPersonality
Returns:
The TableHeaderRenderer 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

uninstallSkin

public void uninstallSkin(javax.swing.JComponent c)
Specified by:
uninstallSkin in interface SkinComponent
Overrides:
uninstallSkin in class AbstractSkinComponent

paintDialog

public boolean paintDialog(java.awt.Graphics g,
                           java.awt.Component c)
Description of the Method

Specified by:
paintDialog in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
Returns:
Description of the Returned Value

paintFocus

public boolean paintFocus(java.awt.Graphics g,
                          javax.swing.JComponent c)
Description of the Method

Specified by:
paintFocus in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
Returns:
Description of the Returned Value

paintMenu

public boolean paintMenu(java.awt.Graphics g,
                         javax.swing.JMenu c)
Description of the Method

Specified by:
paintMenu in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
Returns:
Description of the Returned Value

paintMenuItem

public boolean paintMenuItem(java.awt.Graphics g,
                             javax.swing.JMenuItem c)
Description of the Method

Specified by:
paintMenuItem in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
Returns:
Description of the Returned Value

paintBackground

public boolean paintBackground(java.awt.Graphics g,
                               java.awt.Component c)
Description of the Method

Specified by:
paintBackground in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
Returns:
Description of the Returned Value

paintComboBox

public boolean paintComboBox(java.awt.Graphics g,
                             javax.swing.JComboBox c,
                             java.awt.Rectangle bounds,
                             boolean hasFocus,
                             boolean isRollover)
Description of the Method

Specified by:
paintComboBox in interface SkinPersonality
Parameters:
g - Description of Parameter
c - Description of Parameter
bounds - Description of Parameter
hasFocus - Description of Parameter
Returns:
Description of the Returned Value

createTableHeaderRenderer

public javax.swing.table.TableCellRenderer createTableHeaderRenderer()
Description of the Method

Specified by:
createTableHeaderRenderer in interface SkinPersonality
Returns:
Description of the Returned Value

createListCellRenderer

public javax.swing.ListCellRenderer createListCellRenderer()
Description of the Method

Specified by:
createListCellRenderer in interface SkinPersonality
Returns:
Description of the Returned Value