Winter Cardinal UI - v0.442.0 / DTableDataTreeSorter
Table data sorter.
Name |
---|
NODE |
EventEmitter
↳ DTableDataTreeSorter
DTableDataSorter
<NODE
>• new DTableDataTreeSorter<NODE
>(): DTableDataTreeSorter
<NODE
>
Name |
---|
NODE |
DTableDataTreeSorter
<NODE
>
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:13
• get
id(): number
number
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:17
• get
indices(): null
| number
[]
An indices of sorted rows. Must not change this indices directly.
null
| number
[]
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:57
• get
order(): DTableDataOrder
A sort order.
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:21
• set
order(order
): void
A sort order.
Name | Type |
---|---|
order |
DTableDataOrder |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:25
▸ 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
▸ apply(): void
Applys a sorting.
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:29
▸ 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(): null
| DTableDataComparator
<NODE
>
Returns a current comparator.
null
| DTableDataComparator
<NODE
>
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:41
▸ isApplied(): boolean
Returns true if a sorting is applied.
boolean
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:37
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
number
DTableDataSorter.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
▸ map(unmappedIndex
): null
| number
Returns a sorted index of the specified unmapped index.
Name | Type | Description |
---|---|---|
unmappedIndex |
number |
an unmapped index |
null
| number
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:61
▸ 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
▸ removeAllListeners(event?
): this
Remove all listeners, or those of the specified event.
Name | Type | Description |
---|---|---|
event? |
string | symbol |
The event name. |
this
this
.
DTableDataSorter.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
.
DTableDataSorter.removeListener
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ set(comparator
): void
Sets to the given comparator.
Name | Type | Description |
---|---|---|
comparator |
null | DTableDataComparator <NODE > |
A comparator |
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:45
▸ toDirty(): void
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:49
▸ unapply(): void
Unapplys a sorting.
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:33
▸ unmap(index
): number
Returns an unmapped index of the specified sorted index.
Name | Type | Description |
---|---|---|
index |
number |
a mapped index |
number
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:65
▸ update(): void
void
src/main/typescript/wcardinal/ui/d-table-data-tree-sorter.ts:53