Class AbstractSkinProgress

    • Field Detail

      • progressBarBackHorizontal

        protected DefaultButton progressBarBackHorizontal
      • progressBarHorizontal

        protected DefaultButton progressBarHorizontal
      • progressBarBackVertical

        protected DefaultButton progressBarBackVertical
      • progressBarVertical

        protected DefaultButton progressBarVertical
      • orientation

        protected int orientation
      • minimumSize

        protected final java.awt.Dimension minimumSize
      • useWindow

        protected boolean useWindow
        Set UIManager.put("ProgressBar.windowAnimation", Boolean.TRUE) to use the window painting mode if the progress bar is inderterminate.
    • Constructor Detail

      • AbstractSkinProgress

        public AbstractSkinProgress()
    • Method Detail

      • getMinimumSize

        public final java.awt.Dimension getMinimumSize​(javax.swing.JProgressBar progress)
        Gets the MinimumSize attribute of the AbstractSkinProgress object
        Specified by:
        getMinimumSize in interface SkinProgress
        Parameters:
        progress - Description of Parameter
        Returns:
        The MinimumSize value
      • installSkin

        public final 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
      • paintBackBar

        protected final void paintBackBar​(java.awt.Graphics g,
                                          javax.swing.JProgressBar progress)
      • paintProgress

        public final boolean paintProgress​(java.awt.Graphics g,
                                           javax.swing.JProgressBar progress)
        Description of the Method
        Specified by:
        paintProgress in interface SkinProgress
        Parameters:
        g - Description of Parameter
        progress - Description of Parameter
        Returns:
        Description of the Returned Value
      • paintIndeterminateProgress

        public final boolean paintIndeterminateProgress​(java.awt.Graphics g,
                                                        javax.swing.JProgressBar progress,
                                                        java.awt.Rectangle rec)
        Specified by:
        paintIndeterminateProgress in interface SkinProgress