Class StiColumnsContainer

All Implemented Interfaces:
IStiAppExpressionCollection, IStiJsonReportObject, IStiForceSerializable, IStiSerializable, IStiSerializableRef, IStiSerializableToAttributes, IStiName, IStiBorder, IStiBreakable, IStiBrush, IStiCanGrow, IStiCanShrink, IStiComponentGuid, IStiConditions, IStiGrowToHeight, IStiInteraction, IStiPrintOn, IStiSelect, IStiShift, IStiUnitConvert, IStiReportProperty, IStiIgnoryStyle, IStiInherited, IStiStateSaveRestore, Cloneable

public class StiColumnsContainer extends StiContainer
A class describes a container which contains databands. These databands are output in the column mode on the databand.
  • Field Details

    • Columns

      public int Columns
    • ColumnWidth

      public double ColumnWidth
    • ColumnGaps

      public double ColumnGaps
    • ColumnDirection

      public StiColumnDirection ColumnDirection
    • RightToLeft

      public boolean RightToLeft
    • MinRowsInColumn

      public int MinRowsInColumn
  • Constructor Details

    • StiColumnsContainer

      public StiColumnsContainer(StiEngine engine)
    • StiColumnsContainer

      public StiColumnsContainer()
      Need remove.
  • Method Details

    • AddContainer

      public final void AddContainer(StiContainer container)
      Adds a specified container into the container of columns. The CountOfItems field is increased on 1.
      Parameters:
      container - A container that should be added.
    • HowMuchAdditionalSpaceNeeded

      public final double HowMuchAdditionalSpaceNeeded(double currentHeight, StiContainer container)
      Returns the height of space to place a container into the current container of colimns.
      Parameters:
      currentHeight - Current height of the container of columns.
      container - A container that will be placed in the container of columns.
      Returns:
      Necessary space.
    • FinishColumns

      public final double FinishColumns()
      Finishes column formation in the container of columns. All containers are placed on their proper places.
      Returns:
      Returns the maximal height
    • GetCurrentColumn

      public final int GetCurrentColumn()
      Returns the number of a column on the current moment. The number starts with 1. For the DownThenAcross 1 is always returned.
      Returns:
      The number of an output column.
    • GetLengthOfLastRow

      public final int GetLengthOfLastRow()
      Returns the number of output databands in the last row. The method can be used only for the AcrossThenDown mode.
      Returns:
      The number of output databands