Home Reference Source
import SpreadSheetTab from './ui/components/tabs/tab_spreadsheet.js'
public class | source

SpreadSheetTab

Extends:

cables-shared-client~Events → SpreadSheetTab

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

cells: *[]

public

colNames: *[]

public

data: {"cells": *, "colNames": *}

Private Members
private

_ele: *

private
private

_id: *

private

_inputs: *[]

private
private
private

_port: *

private

_rows: number

private

_tab: *

private

_tabs: *

Method Summary

Public Methods
public

get(x: *, y: *): *

public

getColName(_c: *): *

public

initData(data: *)

public
public

set(x: *, y: *, v: *)

public

show()

Private Methods
private
private

_focusCell(x: *, y: *)

private

_html()

private
private

_onKey(e: *)

private
private

Public Constructors

public constructor() source

Public Members

public cells: *[] source

public colNames: *[] source

public data: {"cells": *, "colNames": *} source

Private Members

private _ele: * source

private _eleTable: * source

private _id: * source

private _inputs: *[] source

private _numCols: * source

private _options: * source

private _port: * source

private _rows: number source

private _tab: * source

private _tabs: * source

Public Methods

public get(x: *, y: *): * source

Params:

NameTypeAttributeDescription
x *
y *

Return:

*

public getColName(_c: *): * source

Params:

NameTypeAttributeDescription
_c *

Return:

*

public initData(data: *) source

Params:

NameTypeAttributeDescription
data *

public rebuildHtml() source

public set(x: *, y: *, v: *) source

Params:

NameTypeAttributeDescription
x *
y *
v *

public show() source

Private Methods

private _checkNumRows() source

private _focusCell(x: *, y: *) source

Params:

NameTypeAttributeDescription
x *
y *

private _html() source

private _onInputChange(e: *) source

Params:

NameTypeAttributeDescription
e *

private _onKey(e: *) source

Params:

NameTypeAttributeDescription
e *

private _sendChange() source

private _updateUiAttribs() source