public static enum ProgressDialog.ProgressBarPosition extends java.lang.Enum<ProgressDialog.ProgressBarPosition>
| Enum Constant and Description |
|---|
BOTTOM
When the progress bar is located below the dialog's message.
|
LEFT
When the progress bar is located to the left of the dialog's message.
|
RIGHT
When the progress bar is located to the right of the dialog's message.
|
TOP
When the progress bar is located above the dialog's message.
|
| Modifier and Type | Method and Description |
|---|---|
static ProgressDialog.ProgressBarPosition |
fromValue(int value)
Creates and returns the position, which corresponds to a specific value.
|
int |
getValue()
Returns the position's value.
|
static ProgressDialog.ProgressBarPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgressDialog.ProgressBarPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressDialog.ProgressBarPosition LEFT
public static final ProgressDialog.ProgressBarPosition TOP
public static final ProgressDialog.ProgressBarPosition RIGHT
public static final ProgressDialog.ProgressBarPosition BOTTOM
public static ProgressDialog.ProgressBarPosition[] values()
for (ProgressDialog.ProgressBarPosition c : ProgressDialog.ProgressBarPosition.values()) System.out.println(c);
public static ProgressDialog.ProgressBarPosition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getValue()
Integer valuepublic static ProgressDialog.ProgressBarPosition fromValue(int value)
value - The value of the position, which should be createdProgressDialog.ProgressBarPosition