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.DimensiongetArrowPreferredSize(int direction)Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar objectjava.awt.DimensiongetMinimumThumbSize()Gets the MinimumThumbSize attribute of the AbstractSkinScrollbar objectjava.awt.DimensiongetPreferredSize(javax.swing.JScrollBar scrollbar)Gets the PreferredSize attribute of the AbstractSkinScrollbar objectbooleaninstallSkin(javax.swing.JComponent c)Description of the MethodbooleanpaintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction)Description of the MethodbooleanpaintThumb(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle thumbBounds)Description of the MethodbooleanpaintTrack(java.awt.Graphics g, javax.swing.JScrollBar scrollbar, java.awt.Rectangle trackBounds)Description of the Methodbooleanstatus()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:
getPreferredSizein 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:
getMinimumThumbSizein interfaceSkinScrollbar- Returns:
- The MinimumThumbSize value
-
getArrowPreferredSize
public java.awt.Dimension getArrowPreferredSize(int direction)
Gets the ArrowPreferredSize attribute of the AbstractSkinScrollbar object- Specified by:
getArrowPreferredSizein interfaceSkinScrollbar- Parameters:
direction- Description of Parameter- Returns:
- The ArrowPreferredSize value
-
status
public boolean status()
Description of the Method- Specified by:
statusin interfaceSkinComponent- Overrides:
statusin classAbstractSkinComponent- Returns:
- Description of the Returned Value
-
installSkin
public boolean installSkin(javax.swing.JComponent c)
Description of the Method- Specified by:
installSkinin interfaceSkinComponent- Overrides:
installSkinin 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:
paintArrowin 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:
paintTrackin 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:
paintThumbin interfaceSkinScrollbar- Parameters:
g- Description of Parameterscrollbar- Description of ParameterthumbBounds- Description of Parameter- Returns:
- Description of the Returned Value
-
-