Class GridRowSpan

java.lang.Object
com.nomagic.magicreport.GridRowSpan
All Implemented Interfaces:
IVariable, Serializable

@OpenApiAll public class GridRowSpan extends Object implements IVariable
Contains utilities functions for grid row span (merge columns vertically or merge row).
Context name of this class is "gridrowspan".
Public functions of this class are able to access via template by using $tableprop
Since:
April 30, 2018
See Also:
  • Constructor Details

    • GridRowSpan

      public GridRowSpan()
      Create empty gridrowspan.
    • GridRowSpan

      public GridRowSpan(String id, String value)
      Create gridrowspan with value in String.
      Parameters:
      id - a rowspan id
      value - a value to span
    • GridRowSpan

      public GridRowSpan(String id, int value)
      Create gridrowspan with value.
      Parameters:
      id - a rowspan id
      value - a value to span
  • Method Details

    • getValue

      public int getValue()
      Get span value
      Returns:
      a value to span
    • setValue

      public void setValue(int value)
      Return span value
      Parameters:
      value - a value to span
    • getId

      public String getId()
      Get rowspan id
      Returns:
      rowspan id
    • setId

      public void setId(String id)
      Set rowspan id
      Parameters:
      id - rowspan id
    • decreaseValue

      public void decreaseValue(int value)