Winter Cardinal UI - v0.457.0 / DTableDataList
| Name |
|---|
ROW |
EventEmitter
↳ DTableDataList
DTableData<ROW>• new DTableDataList<ROW>(options?): DTableDataList<ROW>
| Name |
|---|
ROW |
| Name | Type |
|---|---|
options? |
DTableDataListOptions<ROW> |
DTableDataList<ROW>
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-table-data-list.ts:28
• Protected _filter: DTableDataListFilter<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:23
• Protected _mapped: DTableDataMapped<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:26
• Protected _parent: null | DTableDataParent
src/main/typescript/wcardinal/ui/d-table-data-list.ts:21
• Protected _rows: ROW[]
src/main/typescript/wcardinal/ui/d-table-data-list.ts:22
• Protected _selection: DTableDataSelection<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:25
• Protected _sorter: DTableDataListSorter<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:24
• get filter(): DTableDataFilter<ROW>
A data filter.
DTableDataFilter<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:274
• get mapped(): DTableDataMapped<ROW>
Sorted and filtered data.
DTableDataMapped<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:282
• get rows(): ROW[]
A list of rows.
ROW[]
src/main/typescript/wcardinal/ui/d-table-data-list.ts:95
• get selection(): DTableDataSelection<ROW>
A data selection.
DTableDataSelection<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:270
• get sorter(): DTableDataSorter<ROW>
A data sorter.
DTableDataSorter<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:278
▸ add(row, index?): void
| Name | Type |
|---|---|
row |
ROW |
index? |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:163
▸ addAll(newRows, index?): void
| Name | Type |
|---|---|
newRows |
ROW[] |
index? |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:186
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
utils.EventEmitter.addListener
node_modules/pixi.js/pixi.js.d.ts:25495
▸ bind(parent): void
| Name | Type |
|---|---|
parent |
DTableDataParent |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:81
▸ clear(): void
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:124
▸ clearAndAdd(row): void
| Name | Type |
|---|---|
row |
ROW |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:137
▸ clearAndAddAll(newRows): void
| Name | Type |
|---|---|
newRows |
ROW[] |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:149
▸ 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.
| Name | Type | Description |
|---|---|---|
iteratee |
(row: ROW, index: number) => boolean | void |
an function called on each datum |
ifrom? |
number |
an index to start an iteration |
ito? |
number |
an index before which an interation stops |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:254
▸ emit(event, ...args): boolean
Calls each of the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
...args |
any[] |
Arguments that are passed to registered listeners |
boolean
true if the event had listeners, else false.
utils.EventEmitter.emit
node_modules/pixi.js/pixi.js.d.ts:25441
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ get(index): null | ROW
Returns a row data at the specified index. The index is an index on rows filters and sorters are not applied.
| Name | Type | Description |
|---|---|---|
index |
number |
an index on rows filters and sorters are not applied |
null | ROW
src/main/typescript/wcardinal/ui/d-table-data-list.ts:216
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
utils.EventEmitter.listenerCount
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event): Function[]
Return the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
Function[]
utils.EventEmitter.listeners
node_modules/pixi.js/pixi.js.d.ts:25424
▸ lock(): void
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:106
▸ newSelection(options?): DTableDataSelection<ROW>
| Name | Type |
|---|---|
options? |
DTableDataSelectionOptions<any> |
DTableDataSelection<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:77
▸ off(event, fn?, context?, once?): this
Alias method for removeListener
| Name | Type |
|---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
utils.EventEmitter.off
node_modules/pixi.js/pixi.js.d.ts:25489
▸ on(event, fn, context?): this
Add a listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
utils.EventEmitter.on
node_modules/pixi.js/pixi.js.d.ts:25452
▸ once(event, fn, context?): this
Add a one-time listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
utils.EventEmitter.once
node_modules/pixi.js/pixi.js.d.ts:25463
▸ remove(index): null | ROW
| Name | Type |
|---|---|
index |
number |
null | ROW
src/main/typescript/wcardinal/ui/d-table-data-list.ts:239
▸ removeAllListeners(event?): this
Remove all listeners, or those of the specified event.
| Name | Type | Description |
|---|---|---|
event? |
string | symbol |
The event name. |
this
this.
utils.EventEmitter.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ removeListener(event, fn?, context?, once?): this
Remove the listeners of a given event.
| 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. |
this
this.
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ set(index, row): null | ROW
| Name | Type |
|---|---|
index |
number |
row |
ROW |
null | ROW
src/main/typescript/wcardinal/ui/d-table-data-list.ts:224
▸ size(): number
Returns a size of rows.
number
src/main/typescript/wcardinal/ui/d-table-data-list.ts:120
▸ toRows(row?): ROW[]
| Name | Type |
|---|---|
row? |
ROW[] |
ROW[]
src/main/typescript/wcardinal/ui/d-table-data-list.ts:85
▸ toSelection(options?): DTableDataSelection<ROW>
| Name | Type |
|---|---|
options? |
DTableDataSelectionOptions<any> | DTableDataSelection<ROW> | DTableDataSelectionCreator<ROW> |
DTableDataSelection<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list.ts:63
▸ unlock(callIfNeeded): void
| Name | Type |
|---|---|
callIfNeeded |
boolean |
void
src/main/typescript/wcardinal/ui/d-table-data-list.ts:113
▸ update(forcibly?): void
| Name | Type |
|---|---|
forcibly? |
boolean |
void