Winter Cardinal UI - v0.457.0 / DTableDataListFilter
Table data filter.
| Name |
|---|
ROW |
EventEmitter
↳ DTableDataListFilter
DTableDataFilter<ROW>• new DTableDataListFilter<ROW>(parent): DTableDataListFilter<ROW>
| Name |
|---|
ROW |
| Name | Type |
|---|---|
parent |
DTableDataListFilterParent<ROW> |
DTableDataListFilter<ROW>
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:26
• Protected _filter: null | DTableDataFilterer<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:23
• Protected _filtered: null | number[]
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:24
• Protected _id: number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:18
• Protected _idUpdated: number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:19
• Protected _isApplied: boolean
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:20
• Protected _parent: DTableDataListFilterParent<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:22
• Protected _sorterId: number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:21
• get id(): number
number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:39
• get indices(): null | number[]
An indices of filtered rows. Must not change this indices directly.
null | number[]
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:135
▸ 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 filter.
void
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:43
▸ 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 | DTableDataFilterer<ROW>
Returns a current filter.
null | DTableDataFilterer<ROW>
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:107
▸ isApplied(): boolean
Returns true if a filter is applied.
boolean
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:57
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
DTableDataFilter.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(sortedIndex): null | number
Returns a mapped index of the specified sorted index.
| Name | Type | Description |
|---|---|---|
sortedIndex |
number |
an sorted index |
null | number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:140
▸ newFiltered(): null | number[]
null | number[]
src/main/typescript/wcardinal/ui/d-table-data-list-filter.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.
DTableDataFilter.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.
DTableDataFilter.removeListener
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ set(filter): void
Sets to the given filter.
| Name | Type | Description |
|---|---|---|
filter |
null | DTableDataFilterer<ROW> |
A filter |
void
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:111
▸ toDirty(): void
void
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:117
▸ unapply(): void
Unapplys a filter.
void
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:49
▸ unmap(index): number
Returns an sorted index of the specified mapped index. A mapped index is an index on rows filters and sorters are applied.
| Name | Type | Description |
|---|---|---|
index |
number |
a mapped index |
number
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:156
▸ update(): void
void
src/main/typescript/wcardinal/ui/d-table-data-list-filter.ts:121