TableHeading

TableHeading

Represents a table heading element.

Constructor

new TableHeading(label)

Description:
  • Creates an instance of the TableHeading class.
Source:
Parameters:
Name Type Description
label string The label of the table heading.

Extends

Methods

deserializeNestedProperties()

Description:
  • Deserialize nested object properties into corresponding class instances
Source:
Overrides:

getAlignment() → {FieldAlignment}

Description:
  • Gets the alignment of the table heading.
Source:
Returns:
The alignment.
Type
FieldAlignment

getChannelExtensionProperty(channelType, propertyName) → {any}

Description:
  • Get the value of a channel extension property
Source:
Overrides:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
Returns:
The property value
Type
any

getChannelExtensions() → {ChannelExtensions}

Description:
  • Gets the channel extensions
Source:
Overrides:
Returns:
The channel extensions
Type
ChannelExtensions

getLabel() → {string}

Description:
  • Gets the label of the table heading.
Source:
Returns:
The label.
Type
string

getWidth() → {number}

Description:
  • Gets the width of the table heading.
Source:
Returns:
The width.
Type
number

setAlignment(alignment) → {TableHeading}

Description:
  • Sets the alignment of the table heading.
Source:
Parameters:
Name Type Description
alignment FieldAlignment The alignment to set.
Returns:
The updated instance of the TableHeading.
Type
TableHeading

setChannelExtensionProperty(channelType, propertyName, propertyValue)

Description:
  • Sets a channel-specific extension property
Source:
Overrides:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
propertyValue any The value of the property.
Returns:
The current instance of this class.

setLabel(label) → {TableHeading}

Description:
  • Sets the label of the table heading.
Source:
Parameters:
Name Type Description
label string The label to set.
Returns:
The updated instance of the TableHeading.
Type
TableHeading

setWidth(width) → {TableHeading}

Description:
  • Sets the width of the table heading.
Source:
Parameters:
Name Type Description
width number The width to set.
Returns:
The updated instance of the TableHeading.
Type
TableHeading