Package com.itextpdf.layout.properties
Enum AlignmentPropertyValue
- java.lang.Object
-
- java.lang.Enum<AlignmentPropertyValue>
-
- com.itextpdf.layout.properties.AlignmentPropertyValue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlignmentPropertyValue>
public enum AlignmentPropertyValue extends java.lang.Enum<AlignmentPropertyValue>
A specialized enum containing potential property values forProperty.ALIGN_ITEMS
andProperty.ALIGN_SELF
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASELINE
CENTER
END
FLEX_END
FLEX_START
NORMAL
SELF_END
SELF_START
START
STRETCH
-
Constructor Summary
Constructors Modifier Constructor Description private
AlignmentPropertyValue()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlignmentPropertyValue
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlignmentPropertyValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTER
public static final AlignmentPropertyValue CENTER
-
START
public static final AlignmentPropertyValue START
-
END
public static final AlignmentPropertyValue END
-
SELF_START
public static final AlignmentPropertyValue SELF_START
-
SELF_END
public static final AlignmentPropertyValue SELF_END
-
FLEX_START
public static final AlignmentPropertyValue FLEX_START
-
FLEX_END
public static final AlignmentPropertyValue FLEX_END
-
BASELINE
public static final AlignmentPropertyValue BASELINE
-
STRETCH
public static final AlignmentPropertyValue STRETCH
-
NORMAL
public static final AlignmentPropertyValue NORMAL
-
-
Method Detail
-
values
public static AlignmentPropertyValue[] 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 (AlignmentPropertyValue c : AlignmentPropertyValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlignmentPropertyValue valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-