| Added Methods |
int getAnimationIndex()
|
Gets the index of the current animation frame. |
Rectangle getBox(Rectangle)
|
Stores the position and size of the bouncing box that would be painted for the current animation index in r and returns r. |
void incrementAnimationIndex()
|
Sets the index of the current animation frame to the next valid value which results in the progress bar being repainted. |
void paintDeterminate(Graphics, JComponent)
|
All purpose paint method that should do the right thing for almost all linear determinate progress bars. |
void paintIndeterminate(Graphics, JComponent)
|
All purpose paint method that should do the right thing for all linear bouncing-box progress bars. |
void setAnimationIndex(int)
|
Sets the index of the current animation frame to the specified value and requests that the progress bar be repainted. |
void startAnimationTimer()
|
Starts the animation thread creating and initializing it if necessary. |
void stopAnimationTimer()
|
Stops the animation thread. |