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. |
Changed Methods |
Color getSelectionBackground()
|
Documentation changed from old to new. |
The "selectionBackground" is the color of the text when it is painted over an unfilled area of the progress bar. |
Color getSelectionForeground()
|
Documentation changed from old to new. |
The "selectionForeground" is the color of the text when it is painted over a filled area of the progress bar. |
Point getStringPlacement(Graphics, String, int, int, int, int)
|
Documentation changed from old to new. |
Designate the place where the progress string will be painted. |
void paint(Graphics, JComponent)
|
Documentation changed from old to new. |
Delegates painting to one of two methods: paintDeterminate or paintIndeterminate. |
void uninstallListeners()
|
Documentation changed from old to new. |
Removes all listeners installed by this object. |