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

java.lang.Object
  extended by com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
      extended by com.l2fprod.gui.plaf.skin.impl.AbstractSkinScrollbar
All Implemented Interfaces:
SkinComponent, SkinScrollbar, javax.swing.SwingConstants

public class AbstractSkinScrollbar
extends AbstractSkinComponent
implements javax.swing.SwingConstants, SkinScrollbar

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

Field Summary
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
AbstractSkinScrollbar()
           
AbstractSkinScrollbar(Skin p_ParentSkin)
           
 
Method Summary
 java.awt.Dimension getArrowPreferredSize(int direction)
          Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar object
 java.awt.Dimension getMinimumThumbSize()
          Gets the MinimumThumbSize attribute of the AbstractSkinScrollbar object
 java.awt.Dimension getPreferredSize(javax.swing.JScrollBar scrollbar)
          Gets the PreferredSize attribute of the AbstractSkinScrollbar object
 boolean installSkin(javax.swing.JComponent c)
          Description of the Method
 boolean paintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction)
          Description of the Method
 boolean paintThumb(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle thumbBounds)
          Description of the Method
 boolean paintTrack(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle trackBounds)
          Description of the Method
 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

AbstractSkinScrollbar

public AbstractSkinScrollbar()

AbstractSkinScrollbar

public AbstractSkinScrollbar(Skin p_ParentSkin)
Method Detail

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JScrollBar scrollbar)
Gets the PreferredSize attribute of the AbstractSkinScrollbar object

Specified by:
getPreferredSize in interface SkinScrollbar
Parameters:
scrollbar - Description of Parameter
Returns:
The PreferredSize value

getMinimumThumbSize

public java.awt.Dimension getMinimumThumbSize()
Gets the MinimumThumbSize attribute of the AbstractSkinScrollbar object

Specified by:
getMinimumThumbSize in interface SkinScrollbar
Returns:
The MinimumThumbSize value

getArrowPreferredSize

public java.awt.Dimension getArrowPreferredSize(int direction)
Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar object

Specified by:
getArrowPreferredSize in interface SkinScrollbar
Parameters:
direction - Description of Parameter
Returns:
The ArrowPreferredSize 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

paintArrow

public boolean paintArrow(java.awt.Graphics g,
                          javax.swing.AbstractButton b,
                          int direction)
Description of the Method

Specified by:
paintArrow in interface SkinScrollbar
Parameters:
g - Description of Parameter
b - Description of Parameter
direction - Description of Parameter
Returns:
Description of the Returned Value

paintTrack

public boolean paintTrack(java.awt.Graphics g,
                          javax.swing.JScrollBar scrollbar,
                          java.awt.Rectangle trackBounds)
Description of the Method

Specified by:
paintTrack in interface SkinScrollbar
Parameters:
g - Description of Parameter
scrollbar - Description of Parameter
trackBounds - Description of Parameter
Returns:
Description of the Returned Value

paintThumb

public boolean paintThumb(java.awt.Graphics g,
                          javax.swing.JScrollBar scrollbar,
                          java.awt.Rectangle thumbBounds)
Description of the Method

Specified by:
paintThumb in interface SkinScrollbar
Parameters:
g - Description of Parameter
scrollbar - Description of Parameter
thumbBounds - Description of Parameter
Returns:
Description of the Returned Value