Winter Cardinal UI - v0.442.0 / DTableDataTreeSelectionParent

Interface: DTableDataTreeSelectionParent<NODE>

Type parameters

Name
NODE

Hierarchy

Table of contents

Properties

Methods

Properties

accessor

Readonly accessor: DTableDataTreeItemAccessor<NODE>

Defined in

src/main/typescript/wcardinal/ui/d-table-data-tree-selection.ts:20


filter

Readonly filter: DTableDataFilter<NODE>

A data filter.

Inherited from

DTableDataSelectionParent.filter

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:108


mapped

Readonly mapped: DTableDataMapped<NODE>

Sorted and filtered data.

Inherited from

DTableDataSelectionParent.mapped

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:118


rows

Readonly rows: NODE[]

A list of rows.

Inherited from

DTableDataSelectionParent.rows

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:121


selection

Readonly selection: DTableDataSelection<NODE>

A data selection.

Inherited from

DTableDataSelectionParent.selection

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:103


sorter

Readonly sorter: DTableDataSorter<NODE>

A data sorter.

Inherited from

DTableDataSelectionParent.sorter

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:113

Methods

addListener

addListener(event, fn, context?): this

Alias method for on

Parameters

Name Type
event string | symbol
fn Function
context? any

Returns

this

Inherited from

DTableDataSelectionParent.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25495


bind

bind(parent): void

Parameters

Name Type
parent DTableDataParent

Returns

void

Inherited from

DTableDataSelectionParent.bind

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:123


each

each(iteratee, ifrom?, ito?): void

Calls the specified iteratee on each datum of the specified index range. If called iteratee explicitly returns false, stops an iteration.

Parameters

Name Type Description
iteratee DTableDataEachIteratee<NODE> an function called on each datum
ifrom? number an index to start an iteration
ito? number an index before which an interation stops

Returns

void

Inherited from

DTableDataSelectionParent.each

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:152


emit

emit(event, ...args): boolean

Calls each of the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.
...args any[] Arguments that are passed to registered listeners

Returns

boolean

true if the event had listeners, else false.

Inherited from

DTableDataSelectionParent.emit

Defined in

node_modules/pixi.js/pixi.js.d.ts:25441


eventNames

eventNames(): (string | symbol)[]

Return an array listing the events for which the emitter has registered listeners.

Returns

(string | symbol)[]

Inherited from

DTableDataSelectionParent.eventNames

Defined in

node_modules/pixi.js/pixi.js.d.ts:25415


get

get(index): null | NODE

Returns a row data at the specified index. The index is an index on rows filters and sorters are not applied.

Parameters

Name Type Description
index number an index on rows filters and sorters are not applied

Returns

null | NODE

Inherited from

DTableDataSelectionParent.get

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:142


listenerCount

listenerCount(event): number

Return the number of listeners listening to a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

number

Inherited from

DTableDataSelectionParent.listenerCount

Defined in

node_modules/pixi.js/pixi.js.d.ts:25432


listeners

listeners(event): Function[]

Return the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

Function[]

Inherited from

DTableDataSelectionParent.listeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25424


lock

lock(): void

Returns

void

Inherited from

DTableDataSelectionParent.lock

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:127


off

off(event, fn?, context?, once?): this

Alias method for removeListener

Parameters

Name Type
event string | symbol
fn? Function
context? any
once? boolean

Returns

this

Inherited from

DTableDataSelectionParent.off

Defined in

node_modules/pixi.js/pixi.js.d.ts:25489


on

on(event, fn, context?): this

Add a listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Inherited from

DTableDataSelectionParent.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25452


once

once(event, fn, context?): this

Add a one-time listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Inherited from

DTableDataSelectionParent.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25463


removeAllListeners

removeAllListeners(event?): this

Remove all listeners, or those of the specified event.

Parameters

Name Type Description
event? string | symbol The event name.

Returns

this

this.

Inherited from

DTableDataSelectionParent.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25483


removeListener

removeListener(event, fn?, context?, once?): this

Remove the listeners of a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn? Function Only remove the listeners that match this function.
context? any Only remove the listeners that have this context.
once? boolean Only remove one-time listeners.

Returns

this

this.

Inherited from

DTableDataSelectionParent.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25475


size

size(): number

Returns a size of rows.

Returns

number

Inherited from

DTableDataSelectionParent.size

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:134


unlock

unlock(callIfNeeded): void

Parameters

Name Type
callIfNeeded boolean

Returns

void

Inherited from

DTableDataSelectionParent.unlock

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:129


update

update(): void

Returns

void

Inherited from

DTableDataSelectionParent.update

Defined in

src/main/typescript/wcardinal/ui/d-table-data-selection.ts:107