Enum GridFlow

java.lang.Object
java.lang.Enum<GridFlow>
com.itextpdf.layout.properties.grid.GridFlow
All Implemented Interfaces:
Serializable, Comparable<GridFlow>, java.lang.constant.Constable

public enum GridFlow extends Enum<GridFlow>
A specialized enum containing potential property values for Property.GRID_FLOW.
  • Enum Constant Details

    • ROW

      public static final GridFlow ROW
      Defines row flow from left to right of a grid.
    • COLUMN

      public static final GridFlow COLUMN
      Defines column flow from top to bottom of a grid.
    • ROW_DENSE

      public static final GridFlow ROW_DENSE
      Same as ROW but uses dense algorithm for cell placement.
    • COLUMN_DENSE

      public static final GridFlow COLUMN_DENSE
      Same as COLUMN but uses dense algorithm for cell placement.
  • Method Details

    • values

      public static GridFlow[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GridFlow valueOf (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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null