public enum ZoomEffect extends Enum<ZoomEffect>
Enum Constant and Description |
---|
ZOOM_FIT |
ZOOM_IN |
ZOOM_OUT |
ZOOM_RESET |
Modifier and Type | Method and Description |
---|---|
static ZoomEffect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZoomEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomEffect ZOOM_IN
public static final ZoomEffect ZOOM_OUT
public static final ZoomEffect ZOOM_RESET
public static final ZoomEffect ZOOM_FIT
public final String name
public final int key
public static ZoomEffect[] values()
for (ZoomEffect c : ZoomEffect.values()) System.out.println(c);
public static ZoomEffect 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 © 2005–2020. All rights reserved.