Winter Cardinal UI - v0.442.0 / DListDataImpl
DList data.
Name |
---|
ITEM |
DListData
<ITEM
>• new DListDataImpl<ITEM
>(parent
, options?
): DListDataImpl
<ITEM
>
Name |
---|
ITEM |
Name | Type |
---|---|
parent |
DListDataImplParent |
options? |
DListDataOptions <ITEM > |
DListDataImpl
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:33
• Protected
_accessor: DListItemAccessorImpl
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:29
• Protected
_after: ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:28
• Protected
_before: ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:26
• Protected
_items: ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:27
• Protected
_mapped: DListDataMapped
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:31
• Protected
_parent: DListDataImplParent
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:25
• Protected
_selection: DListDataImplSelection
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:30
• get
accessor(): DListItemAccessor
<ITEM
>
DListItemAccessor
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:101
• get
after(): ITEM
[]
ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:87
• set
after(after
): void
Name | Type |
---|---|
after |
ITEM [] |
void
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:91
• get
before(): ITEM
[]
ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:67
• set
before(before
): void
Name | Type |
---|---|
before |
ITEM [] |
void
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:71
• get
items(): ITEM
[]
ITEM
[]
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:77
• set
items(items
): void
Name | Type |
---|---|
items |
ITEM [] |
void
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:81
• get
mapped(): DListDataMapped
<ITEM
>
DListDataMapped
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:97
• get
selection(): DListDataSelection
<ITEM
>
DListDataSelection
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:105
▸ add(item
, index?
): boolean
Adds the given item. If the index is given, inserts the given item at that index.
Name | Type | Description |
---|---|---|
item |
ITEM |
an item |
index? |
number |
an index |
boolean
true if the data is changed
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:166
▸ addAll(newItems
, index?
): boolean
Adds all the given items. If the index is given, inserts all the given items at that index.
Name | Type | Description |
---|---|---|
newItems |
ITEM [] |
items |
index? |
number |
an index |
boolean
true if the data is changed
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:180
▸ clear(): boolean
Removes all the items.
boolean
true if the data is changed
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:117
▸ clearAndAdd(item
): boolean
Removes all the existing items and adds the given item.
Name | Type | Description |
---|---|---|
item |
ITEM |
an item |
boolean
true if the data is changed
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:127
▸ clearAndAddAll(newItems
): boolean
Removes all the existing items and adds all the given items.
Name | Type | Description |
---|---|---|
newItems |
ITEM [] |
items to be inserted |
boolean
true if the data is changed.
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:146
▸ each(iteratee
, from?
, to?
): void
Calls the specified iteratee on each datum of the specified index range. If called iteratee explicitly returns false, stops an iteration.
Name | Type | Description |
---|---|---|
iteratee |
DListDataIteratee <ITEM > |
an function called on each datum |
from? |
number |
an index to start an iteration |
to? |
number |
an index before which an interation stops |
void
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:230
▸ get(index
): null
| ITEM
Returns an item at the specified index. The index is an index on itemsrows filters and sorters are not applied.
Name | Type | Description |
---|---|---|
index |
number |
an index on rows filters and sorters are not applied |
null
| ITEM
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:201
▸ onChange(): void
void
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:242
▸ remove(index
): null
| ITEM
Removes an item at the given index.
Name | Type | Description |
---|---|---|
index |
number |
an index of the item to be removed. |
null
| ITEM
a removed item or null
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:220
▸ set(index
, item
): null
| ITEM
Replaces an item at the specified index with the given item.
Name | Type | Description |
---|---|---|
index |
number |
an index of the item to be replaced. |
item |
ITEM |
an item |
null
| ITEM
a replaced item or null
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:209
▸ size(): number
Returns a size of data.
number
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:113
▸ toSelection(accessor
, options?
): DListDataImplSelection
<ITEM
>
Name | Type |
---|---|
accessor |
DListItemAccessorImpl <ITEM > |
options? |
DListDataOptions <ITEM > |
DListDataImplSelection
<ITEM
>
src/main/typescript/wcardinal/ui/d-list-data-impl.ts:50
▸ update(forcibly?
): void
Name | Type |
---|---|
forcibly? |
boolean |
void