|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ProgressMode>
org.crosswire.common.progress.ProgressMode
public enum ProgressMode
Progress can be one of several modes, which correspond to the Progress.beginJob() calls.
The GNU Lesser General Public License for details.| Enum Constant Summary | |
|---|---|
PERCENT
Progress is working toward 100% and is supplying work from 0 to 100. |
|
PREDICTIVE
Progress is predicted on the basis of prior runs. |
|
UNITS
Progress is working toward a number of units. |
|
UNKNOWN
Progress is entirely indeterminate. |
|
| Method Summary | |
|---|---|
static ProgressMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProgressMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ProgressMode PERCENT
public static final ProgressMode UNITS
public static final ProgressMode PREDICTIVE
public static final ProgressMode UNKNOWN
| Method Detail |
|---|
public static ProgressMode[] values()
for (ProgressMode c : ProgressMode.values()) System.out.println(c);
public static ProgressMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||