TableStyleElement
TableStyleElement class
Represents the element of the table style.
class TableStyleElement;
Properties
| Property | Type | Description |
|---|---|---|
| size | number | Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe. |
| type | TableStyleElementType | Readonly. Gets the element type. |
Methods
| Method | Description |
|---|---|
| getSize() | @deprecated. Please use the ‘size’ property instead. Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe. |
| setSize(number) | @deprecated. Please use the ‘size’ property instead. Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe. |
| getType() | @deprecated. Please use the ’type’ property instead. Gets the element type. |
| getElementStyle() | Gets the element style. |
| setElementStyle(Style) | Sets the element style. |
| isNull() | Checks whether the implementation object is null. |
size
Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
size : number;
type
Readonly. Gets the element type.
type : TableStyleElementType;
getSize()
@deprecated. Please use the ‘size’ property instead. Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
getSize() : number;
setSize(number)
@deprecated. Please use the ‘size’ property instead. Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
setSize(value: number) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | number | The value to set. |
getType()
@deprecated. Please use the ’type’ property instead. Gets the element type.
getType() : TableStyleElementType;
Returns
getElementStyle()
Gets the element style.
getElementStyle() : Style;
Returns
Returns the Style object.
setElementStyle(Style)
Sets the element style.
setElementStyle(style: Style) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| style | Style | The element style. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;