Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation
Grid

Grid Class Reference

Constructors

Instance Methods

Constructors

new Grid(parameters)

Initializes an instance of Grid.

Instance Methods

grid.getColumn() ⇒ Number

Get the Column

Kind: Instance method of Grid
Returns: Number - the KEY_COLUMN value

grid.getColumnSpan() ⇒ Number

Get the ColumnSpan

Kind: Instance method of Grid
Returns: Number - the KEY_COLUMN_SPAN value

grid.getLevel() ⇒ Number

Get the Level

Kind: Instance method of Grid
Returns: Number - the KEY_LEVEL value

grid.getLevelSpan() ⇒ Number

Get the LevelSpan

Kind: Instance method of Grid
Returns: Number - the KEY_LEVEL_SPAN value

grid.getRow() ⇒ Number

Get the Row

Kind: Instance method of Grid
Returns: Number - the KEY_ROW value

grid.getRowSpan() ⇒ Number

Get the RowSpan

Kind: Instance method of Grid
Returns: Number - the KEY_ROW_SPAN value

grid.setColumn(col) ⇒ Grid

Set the Column

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
col Number The desired Column. {'num_min_value': -1, 'num_max_value': 100}

grid.setColumnSpan(colspan) ⇒ Grid

Set the ColumnSpan

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
colspan Number The desired ColumnSpan. {'default_value': 1, 'num_min_value': 1, 'num_max_value': 100}

grid.setLevel(level) ⇒ Grid

Set the Level

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
level Number The desired Level. {'default_value': 0, 'num_min_value': -1, 'num_max_value': 100}

grid.setLevelSpan(levelspan) ⇒ Grid

Set the LevelSpan

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
levelspan Number The desired LevelSpan. {'default_value': 1, 'num_min_value': 1, 'num_max_value': 100}

grid.setRow(row) ⇒ Grid

Set the Row

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
row Number The desired Row. {'num_min_value': -1, 'num_max_value': 100}

grid.setRowSpan(rowspan) ⇒ Grid

Set the RowSpan

Kind: Instance method of Grid
Returns: Grid - The class instance for method chaining.

ParamTypeDescription
rowspan Number The desired RowSpan. {'default_value': 1, 'num_min_value': 1, 'num_max_value': 100}
View on GitHub.com
Previous Section Next Section