Enum Class RowRole

java.lang.Object
java.lang.Enum<RowRole>
io.leandev.appfuse.report.node.RowRole
All Implemented Interfaces:
Serializable, Comparable<RowRole>, Constable

public enum RowRole extends Enum<RowRole>
表格列在群組結構中的角色;renderer 依此產生續接列與避免群組標題孤立於頁尾
Since:
4.0.0
  • Enum Constant Details

    • DETAIL

      public static final RowRole DETAIL
      明細列
    • GROUP_HEADER

      public static final RowRole GROUP_HEADER
      群組標題列
    • TOTAL

      public static final RowRole TOTAL
      總計列
  • Method Details

    • values

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

      public static RowRole valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null