Winter Cardinal UI - v0.442.0 / DTableDataListSelection
Name |
---|
ROW |
EventEmitter
↳ DTableDataListSelection
DTableDataSelection
<ROW
>• new DTableDataListSelection<ROW
>(parent
, options?
): DTableDataListSelection
<ROW
>
Name |
---|
ROW |
Name | Type |
---|---|
parent |
DTableDataSelectionParent <ROW > |
options? |
DTableDataSelectionOptions <any > |
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:29
• Protected
_indices: Set
<number
>
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:27
• Protected
_parent: DTableDataSelectionParent
<ROW
>
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:25
• Protected
_type: DTableDataSelectionType
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:26
• get
first(): null
| number
null
| number
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:81
• get
indices(): number
[]
Returns a copy of an index array of selected rows. The order of indices is an insertion order.
number
[]
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:229
• get
last(): null
| number
null
| number
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:95
• get
parent(): DTableData
<ROW
>
DTableData
<ROW
>
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:48
• get
rows(): ROW
[]
Returns a copy of an array of selected row value. The order is an insertion order.
ROW
[]
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:241
• get
type(): DTableDataSelectionType
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:52
▸ add(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:71
▸ addAll(rowIndices
): void
Name | Type |
---|---|
rowIndices |
number [] |
void
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:136
▸ addListener(event
, fn
, context?
): this
Alias method for on
Name | Type |
---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
DTableDataSelection.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
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:114
▸ addTo(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:107
▸ clear(): void
void
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:158
▸ clearAndAdd(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
DTableDataSelection.clearAndAdd
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:166
▸ clearAndAddAll(rowIndices
): void
Name | Type |
---|---|
rowIndices |
number [] |
void
DTableDataSelection.clearAndAddAll
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:175
▸ contains(rowIndex
): boolean
Name | Type |
---|---|
rowIndex |
number |
boolean
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:148
▸ 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-list-selection.ts:214
▸ 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
)[]
DTableDataSelection.eventNames
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ isEmpty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:210
▸ 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
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
▸ 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-list-selection.ts:56
▸ 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
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:152
▸ 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
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
.
DTableDataSelection.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-list-selection.ts:186
▸ size(): number
number
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:206
▸ toArray(): [number
, ROW
][]
Returns an array of the (index, row value) pairs of selected rows. The order of pairs is an insertion order.
[number
, ROW
][]
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:254
▸ toMap(): Map
<number
, ROW
>
Map
<number
, ROW
>
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:279
▸ toObject(): Record
<number
, ROW
>
Record
<number
, ROW
>
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:270
▸ toSortedArray(): [number
, ROW
][]
Returns an sorted array of the (index, row value) pairs of selected rows.
[number
, ROW
][]
DTableDataSelection.toSortedArray
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:266
▸ toggle(rowIndex
): void
Name | Type |
---|---|
rowIndex |
number |
void
src/main/typescript/wcardinal/ui/d-table-data-list-selection.ts:61