Package adalid.core

Class ReportGroup

All Implemented Interfaces:
Wrappable, Artifact, Comparable<ReportGroup>

public class ReportGroup extends AbstractArtifact implements Comparable<ReportGroup>
Author:
Jorge Campins
  • Method Details

    • addReportGroup

      public static ReportGroup addReportGroup(Report report)
    • addReportGroup

      public static ReportGroup addReportGroup(Report report, int sequence)
    • addReportGroup

      public static ReportGroup addReportGroup(Report report, View view)
    • addReportGroup

      public static ReportGroup addReportGroup(Report report, ViewField field, int sequence)
    • getIndex

      public int getIndex()
      Returns:
      the index
    • getReport

      public Report getReport()
      Returns:
      the report
    • getViewField

      public ViewField getViewField()
      Returns:
      the view field
    • setViewField

      protected void setViewField(ViewField field)
      Parameters:
      field - the view field to set
    • getField

      public ReportField getField()
      Returns:
      the report control field
    • getSequence

      public Integer getSequence()
      Returns:
      the sequence
    • isDetail

      public boolean isDetail()
      Returns:
      the detail
    • setDetail

      protected void setDetail(boolean detail)
      Parameters:
      detail - the detail to set
    • isLastControl

      public boolean isLastControl()
      Returns:
      the last control
    • isPenultimateControl

      public boolean isPenultimateControl()
      Returns:
      the penultimate control
    • getFields

      public List<ReportField> getFields()
      Returns:
      the fields list
    • getVisibleFieldsCount

      public int getVisibleFieldsCount()
    • getMinHeightToStartNewPage

      public int getMinHeightToStartNewPage()
    • increaseMinHeightToStartNewPage

      public int increaseMinHeightToStartNewPage(int height)
    • resetMinHeightToStartNewPage

      public int resetMinHeightToStartNewPage()
    • compareTo

      public int compareTo(ReportGroup that)
      Specified by:
      compareTo in interface Comparable<ReportGroup>
    • fieldsToString

      protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
      Overrides:
      fieldsToString in class AbstractArtifact