Generated by
JDiff

Class javax.swing.JProgressBar

Documentation changed from old to new.

Changed Constructors
JProgressBar(int) Documentation changed from old to new.
Creates a progress bar with the specified orientation which can be either JProgressBar.VERTICAL or JProgressBar.HORIZONTAL.
JProgressBar(int, int) Documentation changed from old to new.
Creates a horizontal progress bar with the specified minimum and maximum.
JProgressBar(int, int, int) Documentation changed from old to new.
Creates a progress bar using the specified orientation minimum and maximum.
JProgressBar(BoundedRangeModel) Documentation changed from old to new.
Creates a horizontal progress bar that uses the specified model to hold the progress bar's data.
JProgressBar(void) Documentation changed from old to new.
Creates a horizontal progress bar that displays a border but no progress string.
 

Added Methods
ChangeListener[] getChangeListeners() Returns an array of all the ChangeListeners added to this progress bar with addChangeListener.
boolean isIndeterminate() Returns the value of the indeterminate property.
void setIndeterminate(boolean) Sets the indeterminate property of the progress bar which determines whether the progress bar is in determinate or indeterminate mode.
 

Changed Methods
void addChangeListener(ChangeListener) Documentation changed from old to new.
Adds the specified ChangeListener to the progress bar.
ChangeListener createChangeListener() Documentation changed from old to new.
Subclasses that want to handle change events from the model differently can override this to return an instance of a custom ChangeListener implementation.
void fireStateChanged() Documentation changed from old to new.
Notifies all listeners that have registered interest in ChangeEvents.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JProgressBar.
int getMaximum() Documentation changed from old to new.
Returns the progress bar's maximum value which is stored in the progress bar's BoundedRangeModel.
int getMinimum() Documentation changed from old to new.
Returns the progress bar's minimum value which is stored in the progress bar's BoundedRangeModel.
BoundedRangeModel getModel() Documentation changed from old to new.
Returns the data model used by this progress bar.
int getOrientation() Documentation changed from old to new.
Returns JProgressBar.VERTICAL or JProgressBar.HORIZONTAL depending on the orientation of the progress bar.
double getPercentComplete() Documentation changed from old to new.
Returns the percent complete for the progress bar.
String getString() Documentation changed from old to new.
Returns the current value of the progress string.
ProgressBarUI getUI() Documentation changed from old to new.
Returns the look-and-feel object that renders this component.
String getUIClassID() Documentation changed from old to new.
Returns the name of the look-and-feel class that renders this component.
int getValue() Documentation changed from old to new.
Returns the progress bar's current value which is stored in the progress bar's BoundedRangeModel.
boolean isBorderPainted() Documentation changed from old to new.
Returns the borderPainted property.
boolean isStringPainted() Documentation changed from old to new.
Returns the value of the stringPainted property.
void paintBorder(Graphics) Documentation changed from old to new.
Paints the progress bar's border if the borderPainted property is true.
String paramString() Documentation changed from old to new.
Returns a string representation of this JProgressBar.
void removeChangeListener(ChangeListener) Documentation changed from old to new.
Removes a ChangeListener from the progress bar.
void setBorderPainted(boolean) Documentation changed from old to new.
Sets the borderPainted property which is true if the progress bar should paint its border.
void setMaximum(int) Documentation changed from old to new.
Sets the progress bar's maximum value (stored in the progress bar's data model) to n.
void setMinimum(int) Documentation changed from old to new.
Sets the progress bar's minimum value (stored in the progress bar's data model) to n.
void setModel(BoundedRangeModel) Documentation changed from old to new.
Sets the data model used by the JProgressBar.
void setOrientation(int) Documentation changed from old to new.
Sets the progress bar's orientation to newOrientation which must be JProgressBar.VERTICAL or JProgressBar.HORIZONTAL.
void setString(String) Documentation changed from old to new.
Sets the value of the progress string.
void setStringPainted(boolean) Documentation changed from old to new.
Sets the value of the stringPainted property which determines whether the progress bar should render a progress string.
void setValue(int) Documentation changed from old to new.
Sets the progress bar's current value (stored in the progress bar's data model) to n.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.
void setUI(ProgressBarUI) Documentation changed from old to new.
Sets the look-and-feel object that renders this component.
 

Changed Fields
ChangeEvent changeEvent Documentation changed from old to new.
Only one ChangeEvent is needed per instance since the event's only interesting property is the immutable source which is the progress bar.
ChangeListener changeListener Documentation changed from old to new.
Listens for change events sent by the progress bar's model redispatching them to change-event listeners registered upon this progress bar.
BoundedRangeModel model Documentation changed from old to new.
The object that holds the data for the progress bar.
int orientation Documentation changed from old to new.
Whether the progress bar is horizontal or vertical.
boolean paintBorder Documentation changed from old to new.
Whether to display a border around the progress bar.
boolean paintString Documentation changed from old to new.
Whether to textually display a string on the progress bar.
String progressString Documentation changed from old to new.
An optional string that can be displayed on the progress bar.