Winter Cardinal UI - v0.442.0 / DTableDataTreeSelection
Name |
---|
NODE |
DTableDataSelection
<NODE
>
↳ DTableDataTreeSelection
• Readonly
first: null
| number
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:65
• Readonly
indices: number
[]
Returns a copy of an index array of selected rows. The order of indices is an insertion order.
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:55
• Readonly
last: null
| number
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:66
• Readonly
parent: DTableData
<NODE
>
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:49
• Readonly
rows: NODE
[]
Returns a copy of an array of selected row value. The order is an insertion order.
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:61
• Readonly
type: DTableDataSelectionType
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:63
▸ add(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:69
▸ addAll(rowIndices
): void
Name | Type |
---|---|
rowIndices |
number [] |
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:72
▸ addListener(event
, fn
, context?
): this
Alias method for on
Name | Type |
---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
DTableDataSelection.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
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:71
▸ addTo(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:70
▸ clear(): void
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:75
▸ clearAndAdd(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
DTableDataSelection.clearAndAdd
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:76
▸ clearAndAddAll(rowIndices
): void
Name | Type |
---|---|
rowIndices |
number [] |
void
DTableDataSelection.clearAndAddAll
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:77
▸ contains(rowIndex
): boolean
Name | Type |
---|---|
rowIndex |
number |
boolean
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:73
▸ 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-selection.ts:88
▸ 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
.
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
)[]
DTableDataSelection.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ isEmpty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:80
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
number
DTableDataSelection.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
[]
node_modules/pixi.js/pixi.js.d.ts:25424
▸ off(event
, fn?
, context?
, once?
): this
Alias method for removeListener
Name | Type |
---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
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
.
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onNodeChange(nodes?
): void
Name | Type |
---|---|
nodes? |
NODE [] |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-selection.ts:16
▸ 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
.
node_modules/pixi.js/pixi.js.d.ts:25463
▸ remove(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:74
▸ removeAllListeners(event?
): this
Remove all listeners, or those of the specified event.
Name | Type | Description |
---|---|---|
event? |
string | symbol |
The event name. |
this
this
.
DTableDataSelection.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
.
DTableDataSelection.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-selection.ts:78
▸ size(): number
number
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:79
▸ 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
][]
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:94
▸ toMap(): Map
<number
, NODE
>
Map
<number
, NODE
>
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:103
▸ toObject(): Record
<number
, NODE
>
Record
<number
, NODE
>
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:101
▸ toSortedArray(): [number
, NODE
][]
Returns an sorted array of the (index, row value) pairs of selected rows.
[number
, NODE
][]
DTableDataSelection.toSortedArray
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:99
▸ toggle(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-selection.ts:68