public enum LineSpacingEnum extends Enum<LineSpacingEnum> implements JREnum
Enum Constant and Description |
---|
AT_LEAST
Constant for setting spacing between lines to at least a specified size.
|
DOUBLE
Constant for setting spacing between lines to double size.
|
FIXED
Constant for setting spacing between lines to a specified size.
|
ONE_AND_HALF
Constant for setting spacing between lines to 50% more than normal.
|
PROPORTIONAL
Constant for setting spacing between lines to a specified proportion of the normal line spacing.
|
SINGLE
Constant for setting normal spacing between lines.
|
Modifier and Type | Method and Description |
---|---|
static LineSpacingEnum |
getByName(String name) |
static LineSpacingEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static LineSpacingEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static LineSpacingEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineSpacingEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineSpacingEnum SINGLE
public static final LineSpacingEnum ONE_AND_HALF
public static final LineSpacingEnum DOUBLE
public static final LineSpacingEnum AT_LEAST
public static final LineSpacingEnum FIXED
public static final LineSpacingEnum PROPORTIONAL
public static LineSpacingEnum[] values()
for (LineSpacingEnum c : LineSpacingEnum.values()) System.out.println(c);
public static LineSpacingEnum 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 JREnum
public final byte getValue()
public static LineSpacingEnum getByName(String name)
public static LineSpacingEnum getByValue(Byte value)
public static LineSpacingEnum getByValue(byte value)
Copyright © 2017. All rights reserved.