Package com.l2fprod.gui.plaf.skin.impl
Class AbstractSkinScrollbar
- java.lang.Object
-
- com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
-
- 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 $
-
-
Constructor Summary
Constructors Constructor Description AbstractSkinScrollbar()
AbstractSkinScrollbar(Skin p_ParentSkin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Dimension
getArrowPreferredSize(int direction)
Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar objectjava.awt.Dimension
getMinimumThumbSize()
Gets the MinimumThumbSize attribute of the AbstractSkinScrollbar objectjava.awt.Dimension
getPreferredSize(javax.swing.JScrollBar scrollbar)
Gets the PreferredSize attribute of the AbstractSkinScrollbar objectboolean
installSkin(javax.swing.JComponent c)
Description of the Methodboolean
paintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction)
Description of the Methodboolean
paintThumb(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle thumbBounds)
Description of the Methodboolean
paintTrack(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle trackBounds)
Description of the Methodboolean
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 interfaceSkinScrollbar
- 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 interfaceSkinScrollbar
- Returns:
- The MinimumThumbSize value
-
getArrowPreferredSize
public java.awt.Dimension getArrowPreferredSize(int direction)
Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar object- Specified by:
getArrowPreferredSize
in interfaceSkinScrollbar
- Parameters:
direction
- Description of Parameter- Returns:
- The ArrowPreferredSize 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
-
paintArrow
public boolean paintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction)
Description of the Method- Specified by:
paintArrow
in interfaceSkinScrollbar
- Parameters:
g
- Description of Parameterb
- Description of Parameterdirection
- 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 interfaceSkinScrollbar
- Parameters:
g
- Description of Parameterscrollbar
- Description of ParametertrackBounds
- 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 interfaceSkinScrollbar
- Parameters:
g
- Description of Parameterscrollbar
- Description of ParameterthumbBounds
- Description of Parameter- Returns:
- Description of the Returned Value
-
-