Enum ZoomTypeEnum
- java.lang.Object
-
- java.lang.Enum<ZoomTypeEnum>
-
- net.sf.jasperreports.engine.export.type.ZoomTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ZoomTypeEnum>,NamedEnum
public enum ZoomTypeEnum extends Enum<ZoomTypeEnum> implements NamedEnum
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTUAL_SIZEFIT_HEIGHTFIT_PAGEFIT_WIDTH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZoomTypeEnumgetByName(String name)StringgetHtmlValue()StringgetName()static ZoomTypeEnumvalueOf(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.
-
-
-
Enum Constant Detail
-
ACTUAL_SIZE
public static final ZoomTypeEnum ACTUAL_SIZE
-
FIT_WIDTH
public static final ZoomTypeEnum FIT_WIDTH
-
FIT_HEIGHT
public static final ZoomTypeEnum FIT_HEIGHT
-
FIT_PAGE
public static final ZoomTypeEnum FIT_PAGE
-
-
Method Detail
-
values
public static ZoomTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZoomTypeEnum c : ZoomTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZoomTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHtmlValue
public String getHtmlValue()
-
getByName
public static ZoomTypeEnum getByName(String name)
-
-