Class StackColumn

implementation of the stacked column

Hierarchy (view full)

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

_children: Column[] = []
desc: Readonly<IColumnDesc>
parent: Readonly<IColumnParent> = null

parent column of this column, set when added to a ranking or combined column

COLLAPSED_RENDERER: "number" = 'number'
EVENT_ADD_COLUMN: "addColumn" = 'addColumn'
EVENT_COLLAPSE_CHANGED: "collapseChanged" = 'collapseChanged'
EVENT_DIRTY: "dirty" = 'dirty'
EVENT_DIRTY_CACHES: "dirtyCaches" = 'dirtyCaches'
EVENT_DIRTY_HEADER: "dirtyHeader" = 'dirtyHeader'
EVENT_DIRTY_VALUES: "dirtyValues" = 'dirtyValues'
EVENT_FILTER_CHANGED: "filterChanged" = 'filterChanged'
EVENT_GROUP_RENDERER_TYPE_CHANGED: "groupRendererChanged" = 'groupRendererChanged'
EVENT_LABEL_CHANGED: "labelChanged" = 'labelChanged'
EVENT_METADATA_CHANGED: "metaDataChanged" = 'metaDataChanged'
EVENT_MOVE_COLUMN: "moveColumn" = 'moveColumn'
EVENT_MULTI_LEVEL_CHANGED: "nestedChildRatio" = 'nestedChildRatio'
EVENT_REMOVE_COLUMN: "removeColumn" = 'removeColumn'
EVENT_RENDERER_TYPE_CHANGED: "rendererTypeChanged" = 'rendererTypeChanged'
EVENT_SUMMARY_RENDERER_TYPE_CHANGED: "summaryRendererChanged" = 'summaryRendererChanged'
EVENT_VISIBILITY_CHANGED: "visibilityChanged" = 'visibilityChanged'
EVENT_WEIGHTS_CHANGED: "weightsChanged" = 'weightsChanged'
EVENT_WIDTH_CHANGED: "widthChanged" = 'widthChanged'
FLAT_ALL_COLUMNS: -1 = -1

magic variable for showing all columns

Accessors

  • get canJustAddNumbers(): boolean
  • Returns boolean

  • get description(): string
  • Returns string

  • get fixed(): boolean
  • Returns boolean

  • get fqid(): string
  • returns the fully qualified id i.e. path the parent

    Returns string

  • get fqpath(): string
  • Returns string

  • get frozen(): boolean
  • Returns boolean

  • get id(): string
  • Returns string

  • get label(): string
  • Returns string

  • get length(): number
  • Returns number

Methods

  • Parameters

    • type: "collapseChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the collapse property changes

          Parameters

          • previous: boolean
          • current: boolean

          Returns void

          As Member Of

          StackColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "weightsChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the weights change

          Parameters

          • previous: number[]
          • current: number[]

          Returns void

          As Member Of

          StackColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "nestedChildRatio"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the ratios between the children changes

          Parameters

          • previous: number[]
          • current: number[]

          Returns void

          As Member Of

          StackColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "filterChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the filter property changes

          Parameters

          • previous: any
          • current: any

          Returns void

          As Member Of

          CompositeColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "addColumn"
    • listener: ((col, index) => void)
        • (col, index): void
        • emitted when a column has been added

          Parameters

          Returns void

          As Member Of

          CompositeColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "moveColumn"
    • listener: ((col, index, oldIndex) => void)
        • (col, index, oldIndex): void
        • emitted when a column has been moved within this composite columm

          Parameters

          • col: Column
          • index: number
          • oldIndex: number

          Returns void

          As Member Of

          CompositeColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "removeColumn"
    • listener: ((col, index) => void)
        • (col, index): void
        • emitted when a column has been removed

          Parameters

          Returns void

          As Member Of

          CompositeColumn

          Group

          Events

    Returns this

  • Parameters

    • type: "widthChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the width property changes

          Parameters

          • previous: number
          • current: number

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "labelChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the label property changes

          Parameters

          • previous: string
          • current: string

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "metaDataChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the meta data property changes

          Parameters

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "dirty"
    • listener: (() => void)
        • (): void
        • emitted when state of the column is dirty

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "dirtyHeader"
    • listener: (() => void)
        • (): void
        • emitted when state of the column related to its header is dirty

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "dirtyValues"
    • listener: (() => void)
        • (): void
        • emitted when state of the column related to its values is dirty

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "dirtyCaches"
    • listener: (() => void)
        • (): void
        • emitted when state of the column related to cached values (hist, compare, ...) is dirty

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "rendererTypeChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the renderer type property changes

          Parameters

          • previous: string
          • current: string

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "groupRendererChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the group renderer property changes

          Parameters

          • previous: string
          • current: string

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "summaryRendererChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the pattern property changes

          Parameters

          • previous: string
          • current: string

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    • type: "visibilityChanged"
    • listener: ((previous, current) => void)
        • (previous, current): void
        • emitted when the visibility of this column changes

          Parameters

          • previous: boolean
          • current: boolean

          Returns void

          As Member Of

          Column

          Group

          Events

    Returns this

  • Parameters

    Returns this