public interface IProgressBar extends java.lang.Comparable<IProgressBar>
JProgressBar.
Implements Comparable based on the current value of the progress bar so if displayed in a table (used as a renderer), they can be sorted properly.
IGuiFactory.newProgressBar(),
IProgressBarView,
ITable.setRowHeightForProgressBar()| Modifier and Type | Method and Description |
|---|---|
javax.swing.JProgressBar |
asProgressBar()
Casts this instance to
JProgressBar. |
int |
compareTo(IProgressBar pb)
Defines an order based on the progress bar's current value.
|
int |
getValue()
Returns the progress bar's current value.
|
void |
setAborted()
Displays an aborted status.
|
java.lang.String |
toString()
Overrides
Object.toString() to return the painted string. |
javax.swing.JProgressBar asProgressBar()
JProgressBar.this as a JProgressBarvoid setAborted()
java.lang.String toString()
Object.toString() to return the painted string.toString in class java.lang.Objectint getValue()
JProgressBar.getValue() for details.int compareTo(IProgressBar pb)
compareTo in interface java.lang.Comparable<IProgressBar>
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.