Winter Cardinal UI - v0.457.0 / DTableDataTreeSelectionImpl
| Name |
|---|
NODE |
EventEmitter
↳ DTableDataTreeSelectionImpl
DTableDataTreeSelection<NODE>• new DTableDataTreeSelectionImpl<NODE>(parent, options?): DTableDataTreeSelectionImpl<NODE>
| Name |
|---|
NODE |
| Name | Type |
|---|---|
parent |
DTableDataTreeSelectionParent<NODE> |
options? |
DTableDataSelectionOptions<any> |
DTableDataTreeSelectionImpl<NODE>
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:35
• Protected _parent: DTableDataTreeSelectionParent<NODE>
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:31
• Protected _rows: Set<NODE>
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:33
• Protected _type: DTableDataSelectionType
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:32
• get first(): null | number
null | number
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:158
• get indices(): number[]
Returns a copy of an index array of selected rows. The order of indices is an insertion order.
number[]
DTableDataTreeSelection.indices
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:97
• get last(): null | number
null | number
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:166
• get parent(): DTableData<NODE>
DTableData<NODE>
DTableDataTreeSelection.parent
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:53
• get rows(): NODE[]
Returns a copy of an array of selected row value. The order is an insertion order.
NODE[]
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:108
• get type(): DTableDataSelectionType
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:116
▸ add(rowIndex): void
| Name | Type |
|---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:192
▸ addAll(rowIndices): void
| Name | Type |
|---|---|
rowIndices |
number[] |
void
DTableDataTreeSelection.addAll
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:237
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
DTableDataTreeSelection.addListener
utils.EventEmitter.addListener
node_modules/pixi.js/pixi.js.d.ts:25495
▸ addRange(from, includeFrom, to, includeTo): void
| Name | Type |
|---|---|
from |
number |
includeFrom |
boolean |
to |
number |
includeTo |
boolean |
void
DTableDataTreeSelection.addRange
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:210
▸ addTo(rowIndex): void
| Name | Type |
|---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:203
▸ clear(): void
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:270
▸ clearAndAdd(rowIndex): void
| Name | Type |
|---|---|
rowIndex |
number |
void
DTableDataTreeSelection.clearAndAdd
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:278
▸ clearAndAddAll(rowIndices): void
| Name | Type |
|---|---|
rowIndices |
number[] |
void
DTableDataTreeSelection.clearAndAddAll
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:296
▸ contains(rowIndex): boolean
| Name | Type |
|---|---|
rowIndex |
number |
boolean
DTableDataTreeSelection.contains
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:251
▸ each(iteratee): void
Calls the specified iteratee on each indices. If called iteratee explicitly returns false, stops an iteration.
| Name | Type | Description |
|---|---|---|
iteratee |
DTableDataSelectionEachIteratee |
an function called on each indices |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:323
▸ 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)[]
DTableDataTreeSelection.eventNames
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ getFirst(): null | NODE
null | NODE
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:120
▸ getLast(): null | NODE
null | NODE
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:134
▸ isEmpty(): boolean
boolean
DTableDataTreeSelection.isEmpty
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:319
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
DTableDataTreeSelection.listenerCount
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[]
DTableDataTreeSelection.listeners
utils.EventEmitter.listeners
node_modules/pixi.js/pixi.js.d.ts:25424
▸ newRows(nodes, toChildren, hasChildren, rows, result): Set<NODE>
| Name | Type |
|---|---|
nodes |
NODE[] |
toChildren |
DTableDataTreeItemAccessorToChildren<NODE> |
hasChildren |
DTableDataTreeItemAccessorHasChildren<NODE> |
rows |
Set<NODE> |
result |
Set<NODE> |
Set<NODE>
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.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
▸ onChange(): void
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:174
▸ onNodeChange(nodes?): void
| Name | Type |
|---|---|
nodes? |
NODE[] |
void
DTableDataTreeSelection.onNodeChange
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:57
▸ 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(rowIndex): void
| Name | Type |
|---|---|
rowIndex |
number |
void
DTableDataTreeSelection.remove
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:259
▸ removeAllListeners(event?): this
Remove all listeners, or those of the specified event.
| Name | Type | Description |
|---|---|---|
event? |
string | symbol |
The event name. |
this
this.
DTableDataTreeSelection.removeAllListeners
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.
DTableDataTreeSelection.removeListener
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ shift(rowIndex, amount): void
| Name | Type |
|---|---|
rowIndex |
number |
amount |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:311
▸ size(): number
number
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:315
▸ toArray(): [number, NODE][]
Returns an array of the (index, row value) pairs of selected rows. The order of pairs is an insertion order.
[number, NODE][]
DTableDataTreeSelection.toArray
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:335
▸ toIndex(target): null | number
| Name | Type |
|---|---|
target |
NODE |
null | number
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:146
▸ toMap(): Map<number, NODE>
Map<number, NODE>
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:361
▸ toObject(): Record<number, NODE>
Record<number, NODE>
DTableDataTreeSelection.toObject
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:350
▸ toSortedArray(): [number, NODE][]
Returns an sorted array of the (index, row value) pairs of selected rows.
[number, NODE][]
DTableDataTreeSelection.toSortedArray
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:346
▸ toggle(rowIndex): void
| Name | Type |
|---|---|
rowIndex |
number |
void
DTableDataTreeSelection.toggle
src/main/typescript/wcardinal/ui/d-table-data-tree-selection-impl.ts:179