| |
|
| java.lang.Object org.uispec4j.AbstractUIComponent org.uispec4j.ProgressBar
DEFAULT_PRECISION | final public static int DEFAULT_PRECISION(Code) | | |
SWING_CLASSES | final public static Class[] SWING_CLASSES(Code) | | |
completionEquals | public Assertion completionEquals(int expectedValue)(Code) | | Checks the completion value as a percentage (0-100) of the available range.
The actual completion must be equal to the given value plus or minus the progress bar precision.
Parameters: expectedValue - an int between 0 and 100, or -1 if the status is undeterminate See Also: ProgressBar.setPrecision |
getDescriptionTypeName | public String getDescriptionTypeName()(Code) | | |
isCompleted | public Assertion isCompleted()(Code) | | Checks the completion of the progress bar.
|
setPrecision | public void setPrecision(int value)(Code) | | Sets the precision for the completion check. This precision is the greatest difference
allowed between the actual and expected completion values (both are integers between 0
and 100).
The default precision is 2.
See Also: ProgressBar.completionEquals |
|
|
|