Package com.itextpdf.layout.renderer
Enum GridTrackSizer.GridItemContributionType
- java.lang.Object
-
- java.lang.Enum<GridTrackSizer.GridItemContributionType>
-
- com.itextpdf.layout.renderer.GridTrackSizer.GridItemContributionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GridTrackSizer.GridItemContributionType>
- Enclosing class:
- GridTrackSizer
private static enum GridTrackSizer.GridItemContributionType extends java.lang.Enum<GridTrackSizer.GridItemContributionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOR_CONTENT_BASED_MINIMUMS
FOR_FREE_SPACE
FOR_INTRINSIC_MAXIMUMS
FOR_INTRINSIC_MINIMUMS
FOR_MAX_CONTENT_MAXIMUMS
FOR_MAX_CONTENT_MINIMUMS
-
Constructor Summary
Constructors Modifier Constructor Description private
GridItemContributionType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridTrackSizer.GridItemContributionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GridTrackSizer.GridItemContributionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOR_INTRINSIC_MINIMUMS
public static final GridTrackSizer.GridItemContributionType FOR_INTRINSIC_MINIMUMS
-
FOR_CONTENT_BASED_MINIMUMS
public static final GridTrackSizer.GridItemContributionType FOR_CONTENT_BASED_MINIMUMS
-
FOR_MAX_CONTENT_MINIMUMS
public static final GridTrackSizer.GridItemContributionType FOR_MAX_CONTENT_MINIMUMS
-
FOR_INTRINSIC_MAXIMUMS
public static final GridTrackSizer.GridItemContributionType FOR_INTRINSIC_MAXIMUMS
-
FOR_MAX_CONTENT_MAXIMUMS
public static final GridTrackSizer.GridItemContributionType FOR_MAX_CONTENT_MAXIMUMS
-
FOR_FREE_SPACE
public static final GridTrackSizer.GridItemContributionType FOR_FREE_SPACE
-
-
Method Detail
-
values
public static GridTrackSizer.GridItemContributionType[] 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 (GridTrackSizer.GridItemContributionType c : GridTrackSizer.GridItemContributionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridTrackSizer.GridItemContributionType 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
-
-