Class AbstractSkinScrollbar

    • 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
    • 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 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • 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