public enum ZoomMode extends Enum<ZoomMode>
| Enum Constant and Description |
|---|
ActualSize |
CustomZoomPercent |
FitPage |
FitWidth |
| Modifier and Type | Method and Description |
|---|---|
static ZoomMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZoomMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomMode ActualSize
public static final ZoomMode FitPage
public static final ZoomMode FitWidth
public static final ZoomMode CustomZoomPercent
public static ZoomMode[] values()
for (ZoomMode c : ZoomMode.values()) System.out.println(c);
public static ZoomMode 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 null