TableStyleElement

TableStyleElement class

Represents the element of the table style.

class TableStyleElement;

Properties

PropertyTypeDescription
sizenumberNumber of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
typeTableStyleElementTypeReadonly. Gets the element type.

Methods

MethodDescription
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:

ParameterTypeDescription
valuenumberThe value to set.

getType()

@deprecated. Please use the ’type’ property instead. Gets the element type.

getType() : TableStyleElementType;

Returns

TableStyleElementType

getElementStyle()

Gets the element style.

getElementStyle() : Style;

Returns

Returns the Style object.

setElementStyle(Style)

Sets the element style.

setElementStyle(style: Style) : void;

Parameters:

ParameterTypeDescription
styleStyleThe element style.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;