viewtify

viewtify.ui.helper

CollectableHelper<Self, E>

itemsProperty()javafx.beans.property.Propertyjavafx.collections.ObservableListE

javafx.beans.property.Propertyjavafx.collections.ObservableListE

Returns the managed item list.

artifacts()javafx.collections.ObservableListE

javafx.collections.ObservableListE

A live item list.

Get the all artifacts.

items()javafx.collections.ObservableListE

javafx.collections.ObservableListE

A live item list.

Get the all items.

items(Eitems)Self

Eitems

All items to set.

Self

Chainable API.

Sets all values as items.

items(kiss.SignalEitems)Self

kiss.SignalEitems

All items to set.

Self

Chainable API.

Sets all values as items.

items(BaseStreamE, ?items)Self

BaseStreamE, ?items

All items to set.

Self

Chainable API.

Sets all values as items.

items(IterableEitems)Self

IterableEitems

All items to set.

Self

Chainable API.

Sets all values as items.

items(ListEitems)Self

ListEitems

All items to set.

Self

Chainable API.

Sets all values as items.

items(intstart, intend, IntFunctionEmapper)Self

intstart

The inclusive initial value.

intend

The inclusive upper bound.

IntFunctionEmapper

A value builder.

Self

Chainable API.

Specify all values from the start value to the end value.

itemsWhen(kiss.Signal?reload, SupplierListEitems)Self

kiss.Signal?reload
SupplierListEitems
Self

Chainable API.

Sets all values as items.

itemsWhen(kiss.Signal?reload, ConsumerSelfsetter)Self

kiss.Signal?reload
ConsumerSelfsetter
Self

Chainable API.

Sets all values as items.

initialize(EinitialItems)Self

EinitialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

initialize(kiss.SignalEinitialItems)Self

kiss.SignalEinitialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

initialize(BaseStreamE, ?initialItems)Self

BaseStreamE, ?initialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

initialize(IterableEinitialItems)Self

IterableEinitialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

initialize(ListEinitialItems)Self

ListEinitialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

initialize(EdefaultValue, ListEinitialItems)Self

EdefaultValue

A default value.

ListEinitialItems

The initial value is mandatory, null values are not accepted.

Self

Chainable API.

Initialize with the specified value. This value is automatically saved whenever it is changed, and is restored the next time it is initialized.

historicalItems(kiss.WiseConsumerListEsave)Self

kiss.WiseConsumerListEsave
Self

Maintain an edit history of this value with default context.

historicalItems(kiss.WiseConsumerListEsave, Editocontext)Self

XUserInterface & CollectableHelperX, E
kiss.WiseConsumerListEsave
Editocontext
Self

Maintains an edit history of this value with your context.

first()kiss.VariableE

kiss.VariableE

Returns the first item.

firstArtifact()kiss.VariableE

kiss.VariableE

Returns the first item.

last()kiss.VariableE

kiss.VariableE

Returns the last item.

lastArtifact()kiss.VariableE

kiss.VariableE

Returns the last item.

size()int

int

Return the number of items.

indexOf(Eitem)int

Eitem

A target to search.

int

An item index.

Return the index of the specified item or -1 if it is not found.

has(Eitem)boolean

Eitem

A target to search.

boolean

A result.

Check whether this collection has the specified item or not.

addItemAt(intindex, Eitem)Self

intindex

An index to add.

Eitem

An item to add.

Self

Chainable API.

Add the specified item.

addItemAtIfAbsent(intindex, Eitem)Self

intindex

An index to add.

Eitem

An item to add.

Self

Chainable API.

Add the specified item.

addItemAtFirst(Eitem)Self

Eitem

An item to add.

Self

Chainable API.

Add the specified item at the first.

addItemAtFirstIfAbsent(Eitem)Self

Eitem

An item to add.

Self

Chainable API.

Add the specified item at the first.

addItemAtLast(Eitem)Self

Eitem

An item to add.

Self

Chainable API.

Add the specified item at the last.

addItemAtLastIfAbsent(Eitem)Self

Eitem

An item to add.

Self

Chainable API.

Add the specified item at the last.

setItemAt(intindex, Eitem)Self

intindex

An index to add.

Eitem

An item to add.

Self

Chainable API.

Set the specified item.

removeItem(Eitem)Self

Eitem

An item to remove.

Self

Chainable API.

Remove the specified item.

removeItems(CollectionEitems)Self

CollectionEitems

A collection of items to remove.

Self

Chainable API.

Remove the specified item.

removeItemAll()Self

Self

Remove all items.

removeItemAt(intindexies)Self

intindexies
Self

Chainable API.

Remove an item at the specified index.

removeItemAt(ListIntegerindexies)Self

ListIntegerindexies
Self

Chainable API.

Remove an item at the specified index.

removeItemAtFirst()Self

Self

Chainable API.

Remove the first item.

removeItemAtLast()Self

Self

Chainable API.

Remove the last item.

replaceItemAt(kiss.VariableEtarget, Ereplacer)Self

kiss.VariableEtarget

An index..

Ereplacer

An item to replace.

Self

Chainable API.

Replace the specified item.

replaceItemAt(Etarget, Ereplacer)Self

Etarget

An index..

Ereplacer

An item to replace.

Self

Chainable API.

Replace the specified item.

swap(intone, intother)Self

intone
intother
Self

Chainable API.

Swap its position each items.

sort(ComparatorEsorter)Self

ComparatorEsorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sortBy(Function?E, ?Usorter)Self

UComparable?U
Function?E, ?Usorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sortByInt(ToIntFunction?Esorter)Self

ToIntFunction?Esorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sortByLong(ToLongFunction?Esorter)Self

ToLongFunction?Esorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sortByDouble(ToDoubleFunction?Esorter)Self

ToDoubleFunction?Esorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sort(ValueHelper?, Vcontext, FunctionV, ComparatorEsorter)Self

V
ValueHelper?, Vcontext

An additional infomation.

FunctionV, ComparatorEsorter

A item comparator.

Self

Chainable API.

Sort items by the specified Comparator.

sort(ComparatorEsorter, PredicateEselector)Self

ComparatorEsorter

A item comparator.

PredicateEselector

A item selector to sort.

Self

Sorts items using the specified Comparator. However, items other than the selected item are excluded from the sort and remain fixed.

isFiltering()kiss.SignalBoolean

kiss.SignalBoolean

Get the filetering state.

hasNothing()kiss.SignalBoolean

kiss.SignalBoolean

Get the filetering state.

hasSomething()kiss.SignalBoolean

kiss.SignalBoolean

Get the filetering state.

take(PredicateEfilter)Self

PredicateEfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

take(javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)Self

C
javafx.beans.value.ObservableValueCcontext

An additional infomation.

BiPredicateE, Cfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

take(ValueHelper?, Ccontext, BiPredicateE, Cfilter)Self

C
ValueHelper?, Ccontext

An additional infomation.

BiPredicateE, Cfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

take(kiss.SignalPredicateEfilter)Self

kiss.SignalPredicateEfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

skip(PredicateEfilter)Self

PredicateEfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

skip(javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)Self

C
javafx.beans.value.ObservableValueCcontext

An additional infomation.

BiPredicateE, Cfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

skip(ValueHelper?, Ccontext, BiPredicateE, Cfilter)Self

C
ValueHelper?, Ccontext

An additional infomation.

BiPredicateE, Cfilter

A conditional filter.

Self

Chainable API.

Filter items by the specified condition.

query()CompoundQueryE

CompoundQueryE

Get the associated CompoundQuery.

observeItemState(FunctionE, kiss.VariablestateExtractor)Self

FunctionE, kiss.VariablestateExtractor
Self

Chainable API.

Observe each items's state to update view.

observeItems()kiss.Signaljavafx.collections.ObservableListE

kiss.Signaljavafx.collections.ObservableListE

Observe the modification of items.

observeItems(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self

kiss.WiseConsumerjavafx.collections.ObservableListElistener
Self

Observe the modification of items.

observingItems()kiss.Signaljavafx.collections.ObservableListE

kiss.Signaljavafx.collections.ObservableListE

Observe the modification of items.

observingItems(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self

kiss.WiseConsumerjavafx.collections.ObservableListElistener
Self

Observe the modification of items.

observeArtifacts()kiss.Signaljavafx.collections.ObservableListE

kiss.Signaljavafx.collections.ObservableListE

Observe the modification of artifacts.

observeArtifacts(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self

kiss.WiseConsumerjavafx.collections.ObservableListElistener
Self

Observe the modification of artifacts.

observingArtifacts()kiss.Signaljavafx.collections.ObservableListE

kiss.Signaljavafx.collections.ObservableListE

Observe the modification of artifacts.

observingArtifacts(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self

kiss.WiseConsumerjavafx.collections.ObservableListElistener
Self

Observe the modification of artifacts.

reapply()Self

Self

Chainable API.

Reapply the current filter and comparator.

updateUnderlayModel(javafx.collections.ObservableListEnewList)Self

javafx.collections.ObservableListEnewList
Self

Update the original ObservableList, which should not normally be touched.