public static enum Uploader.ButtonAction extends java.lang.Enum<Uploader.ButtonAction>
Uploader.setButtonAction(ButtonAction) method. The button action
defines the action taken when the uploader button (text, image, or flash) is clicked.| Enum Constant and Description |
|---|
SELECT_FILE
Select a single file when the button is clicked.
|
SELECT_FILES
Select multiple files when the button is clicked.
|
START_UPLOAD
Begin the uploader process when the button is clicked.
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
static Uploader.ButtonAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Uploader.ButtonAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Uploader.ButtonAction SELECT_FILE
public static final Uploader.ButtonAction SELECT_FILES
public static final Uploader.ButtonAction START_UPLOAD
public static Uploader.ButtonAction[] values()
for (Uploader.ButtonAction c : Uploader.ButtonAction.values()) System.out.println(c);
public static Uploader.ButtonAction 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 int toInt()