public enum ImgLoaderHints extends Enum<ImgLoaderHints> implements ImgLoaderHint
ImgLoaderHint.
Note that hints may be ignored by BasicImgLoader implementations.
| Enum Constant and Description |
|---|
LOAD_COMPLETELY
Indicates that the caller wants to access all pixels of an image.
|
| Modifier and Type | Method and Description |
|---|---|
static ImgLoaderHints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImgLoaderHints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImgLoaderHints LOAD_COMPLETELY
BasicImgLoader should decide to load the image
immediately instead of lazily loading and caching. This may result in
faster loading and/or access (if for example the image data fits into an
ArrayImg). However, it will also require more memory than
cache-backed images.
Note that hints may be ignored by BasicImgLoader implementations.
public static ImgLoaderHints[] values()
for (ImgLoaderHints c : ImgLoaderHints.values()) System.out.println(c);
public static ImgLoaderHints 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 © 2015–2021 Fiji. All rights reserved.