Row
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.ICloneable
public final class Row implements System.ICloneable
Represents a row of the table.
Constructors
Constructor | Description |
---|---|
Row() | Initializes a new instance of the Row class. |
Methods
Method | Description |
---|---|
deepClone() | Clone the row. |
getBackgroundColor() | Gets the background color. |
setBackgroundColor(Color value) | Sets the background color. |
getBorder() | Gets the border. |
setBorder(BorderInfo value) | Sets the border. |
getCells() | Gets the getCells() of the row. |
setCells(Cells value) | Sets the getCells() of the row. |
getDefaultCellBorder() | Gets default cell border; |
setDefaultCellBorder(BorderInfo value) | Sets default cell border; |
getMinRowHeight() | Gets height for row; |
setMinRowHeight(double value) | Sets height for row; |
getFixedRowHeight() | Gets fixed row height - row may have fixed height; |
setFixedRowHeight(double value) | Sets fixed row height - row may have fixed height; |
isInNewPage() | Gets fixed row is in new page - page with this property should be printed to next page Default false; |
setInNewPage(boolean value) | Sets is row can be broken between two pages |
isRowBroken() | Gets is row can be broken between two pages |
setRowBroken(boolean value) | Sets is row can be broken between two pages |
getDefaultCellTextState() | Gets or sets default text state for row getCells() |
setDefaultCellTextState(TextState value) | Sets default text state for row getCells() |
getDefaultCellPadding() | Gets default margin for row getCells() |
setDefaultCellPadding(MarginInfo value) | Sets default margin for row getCells() |
getVerticalAlignment() | Gets or sets the vertical alignment. |
setVerticalAlignment(VerticalAlignment value) | Gets or sets the vertical alignment. |
Row()
public Row()
Initializes a new instance of the Row class.
deepClone()
public Object deepClone()
Clone the row.
Returns: java.lang.Object - The cloned object
getBackgroundColor()
public Color getBackgroundColor()
Gets the background color.
Returns: Color - Color value
setBackgroundColor(Color value)
public void setBackgroundColor(Color value)
Sets the background color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | Color value |
getBorder()
public BorderInfo getBorder()
Gets the border.
Returns: BorderInfo - BorderInfo value
setBorder(BorderInfo value)
public void setBorder(BorderInfo value)
Sets the border.
Parameters:
Parameter | Type | Description |
---|---|---|
value | BorderInfo | BorderInfo value |
getCells()
public Cells getCells()
Gets the getCells() of the row.
Returns: Cells - getCells() value
setCells(Cells value)
public void setCells(Cells value)
Sets the getCells() of the row.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Cells | getCells() value |
getDefaultCellBorder()
public BorderInfo getDefaultCellBorder()
Gets default cell border;
Returns: BorderInfo - BorderInfo value
setDefaultCellBorder(BorderInfo value)
public void setDefaultCellBorder(BorderInfo value)
Sets default cell border;
Parameters:
Parameter | Type | Description |
---|---|---|
value | BorderInfo | BorderInfo value |
getMinRowHeight()
public double getMinRowHeight()
Gets height for row;
Returns: double - double value
setMinRowHeight(double value)
public void setMinRowHeight(double value)
Sets height for row;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
getFixedRowHeight()
public double getFixedRowHeight()
Gets fixed row height - row may have fixed height;
Returns: double - double value
setFixedRowHeight(double value)
public void setFixedRowHeight(double value)
Sets fixed row height - row may have fixed height;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
isInNewPage()
public boolean isInNewPage()
Gets fixed row is in new page - page with this property should be printed to next page Default false;
Returns: boolean - boolean value
setInNewPage(boolean value)
public void setInNewPage(boolean value)
Sets is row can be broken between two pages
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |
isRowBroken()
public boolean isRowBroken()
Gets is row can be broken between two pages
Returns: boolean - boolean value
setRowBroken(boolean value)
public void setRowBroken(boolean value)
Sets is row can be broken between two pages
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |
getDefaultCellTextState()
public TextState getDefaultCellTextState()
Gets or sets default text state for row getCells()
Gets default text state for row getCells()
Returns: TextState - TextState value
setDefaultCellTextState(TextState value)
public void setDefaultCellTextState(TextState value)
Sets default text state for row getCells()
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextState | TextState value |
getDefaultCellPadding()
public MarginInfo getDefaultCellPadding()
Gets default margin for row getCells()
Returns: MarginInfo - MarginInfo value
setDefaultCellPadding(MarginInfo value)
public void setDefaultCellPadding(MarginInfo value)
Sets default margin for row getCells()
Parameters:
Parameter | Type | Description |
---|---|---|
value | MarginInfo | MarginInfo value |
getVerticalAlignment()
public VerticalAlignment getVerticalAlignment()
Gets or sets the vertical alignment.
Returns: VerticalAlignment - VerticalAlignment element
setVerticalAlignment(VerticalAlignment value)
public void setVerticalAlignment(VerticalAlignment value)
Gets or sets the vertical alignment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | VerticalAlignment | VerticalAlignment element |