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