Package com.nomagic.magicreport
Class GridRowSpan
java.lang.Object
com.nomagic.magicreport.GridRowSpan
- All Implemented Interfaces:
IVariable,Serializable
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
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 Summary
ConstructorsConstructorDescriptionCreate empty gridrowspan.GridRowSpan(String id, int value) Create gridrowspan with value.GridRowSpan(String id, String value) Create gridrowspan with value in String. -
Method Summary
-
Constructor Details
-
GridRowSpan
public GridRowSpan()Create empty gridrowspan. -
GridRowSpan
Create gridrowspan with value in String.- Parameters:
id- a rowspan idvalue- a value to span
-
GridRowSpan
Create gridrowspan with value.- Parameters:
id- a rowspan idvalue- 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
Get rowspan id- Returns:
- rowspan id
-
setId
Set rowspan id- Parameters:
id- rowspan id
-
decreaseValue
public void decreaseValue(int value)
-