public enum HtmlSizeUnitEnum extends Enum<HtmlSizeUnitEnum> implements JREnum
| Enum Constant and Description |
|---|
PIXEL
Constant specifying that measurements in HTML export are made in pixels.
|
POINT
Constant specifying that measurements in HTML export are made in points.
|
| Modifier and Type | Method and Description |
|---|---|
static HtmlSizeUnitEnum |
getByName(String name) |
static HtmlSizeUnitEnum |
getByValue(byte value) |
static HtmlSizeUnitEnum |
getByValue(Byte value) |
String |
getName() |
byte |
getValue() |
Byte |
getValueByte() |
static HtmlSizeUnitEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlSizeUnitEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlSizeUnitEnum PIXEL
public static final HtmlSizeUnitEnum POINT
public static HtmlSizeUnitEnum[] values()
for (HtmlSizeUnitEnum c : HtmlSizeUnitEnum.values()) System.out.println(c);
public static HtmlSizeUnitEnum 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 Byte getValueByte()
getValueByte in interface JREnumpublic static HtmlSizeUnitEnum getByName(String name)
public static HtmlSizeUnitEnum getByValue(Byte value)
public static HtmlSizeUnitEnum getByValue(byte value)
Copyright © 2014. All rights reserved.