public enum DataFlavor extends Enum<DataFlavor>
VirtualTableColumn
.Enum Constant and Description |
---|
COLOR
Color data flavor
|
IMAGE
Image data flavor, for supported image types see
ImageFileFilter.getSupportedImageExtensions() . |
UNDEFINED
Undefined flavor.
|
Modifier and Type | Method and Description |
---|---|
static DataFlavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFlavor UNDEFINED
public static final DataFlavor IMAGE
ImageFileFilter.getSupportedImageExtensions()
.public static final DataFlavor COLOR
public static DataFlavor[] values()
for (DataFlavor c : DataFlavor.values()) System.out.println(c);
public static DataFlavor 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 nullCopyright © 2003–2022 XDEV Software. All rights reserved.