public static enum ImageComponent.ImageClass extends Enum<ImageComponent.ImageClass>
Enum Constant and Description |
---|
BUFFERED_IMAGE
Indicates that this ImageComponent object wraps a BufferedImage
object.
|
NIO_IMAGE_BUFFER
Indicates that this ImageComponent object wraps an NioImageBuffer
object.
|
RENDERED_IMAGE
Indicates that this ImageComponent object wraps a RenderedImage
object that is not a BufferedImage.
|
Modifier and Type | Method and Description |
---|---|
static ImageComponent.ImageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageComponent.ImageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageComponent.ImageClass BUFFERED_IMAGE
public static final ImageComponent.ImageClass RENDERED_IMAGE
public static final ImageComponent.ImageClass NIO_IMAGE_BUFFER
public static ImageComponent.ImageClass[] values()
for (ImageComponent.ImageClass c : ImageComponent.ImageClass.values()) System.out.println(c);
public static ImageComponent.ImageClass 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 © 2016–2022 SciJava. All rights reserved.