Class AbstractSkinScrollbar

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

public class AbstractSkinScrollbar extends AbstractSkinComponent implements SwingConstants, SkinScrollbar
Version:
$Revision: 1.1 $, $Date: 2003/08/01 20:05:29 $
Author:
$Author: l2fprod $
  • Constructor Details

    • AbstractSkinScrollbar

      public AbstractSkinScrollbar()
    • AbstractSkinScrollbar

      public AbstractSkinScrollbar(Skin p_ParentSkin)
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize(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 Dimension getMinimumThumbSize()
      Gets the MinimumThumbSize attribute of the AbstractSkinScrollbar object
      Specified by:
      getMinimumThumbSize in interface SkinScrollbar
      Returns:
      The MinimumThumbSize value
    • getArrowPreferredSize

      public 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(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(Graphics g, 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(Graphics g, JScrollBar scrollbar, 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(Graphics g, JScrollBar scrollbar, 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