public enum ZoomTypeEnum extends Enum<ZoomTypeEnum> implements NamedEnum
Enum Constant and Description |
---|
ACTUAL_SIZE |
FIT_HEIGHT |
FIT_PAGE |
FIT_WIDTH |
Modifier and Type | Method and Description |
---|---|
static ZoomTypeEnum |
getByName(String name) |
String |
getHtmlValue() |
String |
getName() |
static ZoomTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZoomTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomTypeEnum ACTUAL_SIZE
public static final ZoomTypeEnum FIT_WIDTH
public static final ZoomTypeEnum FIT_HEIGHT
public static final ZoomTypeEnum FIT_PAGE
public static ZoomTypeEnum[] values()
for (ZoomTypeEnum c : ZoomTypeEnum.values()) System.out.println(c);
public static ZoomTypeEnum 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 nullpublic String getHtmlValue()
public static ZoomTypeEnum getByName(String name)
Copyright © 2016. All rights reserved.