public static enum FileTransfer.Label extends Enum<FileTransfer.Label>
Enum Constant and Description |
---|
COPY
The file transfer may be described as: copying some files.
|
DOWNLOAD
The file transfer may be described as: downloading some files.
|
MOVE
The file transfer may be described as: moving some files.
|
PASTE
The file transfer may be described as: pasting some files.
|
UPLOAD
The file transfer may be described as: uploading some files.
|
Modifier and Type | Method and Description |
---|---|
IconResource |
toIcon()
Returns the icon of file transfer dialog box.
|
String |
toTitle()
Returns the title of file transfer dialog box.
|
static FileTransfer.Label |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransfer.Label[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransfer.Label UPLOAD
public static final FileTransfer.Label DOWNLOAD
public static final FileTransfer.Label COPY
public static final FileTransfer.Label MOVE
public static final FileTransfer.Label PASTE
public static FileTransfer.Label[] values()
for (FileTransfer.Label c : FileTransfer.Label.values()) System.out.println(c);
public static FileTransfer.Label valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toTitle()
public IconResource toIcon()