viewtify.ui.helper
CollectableHelper<Self, E>
Self, E>SelfReferenceHolder&CollectableHelperSelf,EE
AbstractComboBoxT,Self,WAbstractPaneE,P,SelfUIChoiceBoxTUIComboBoxTUIComboCheckBoxTUIFlowViewEUIGridViewEUIListViewEUISpinnerTUITabPaneUITableViewRowVUITileViewEUITreeTableViewRowV
itemsProperty()javafx.beans.property.Propertyjavafx.collections.ObservableListE
javafx.collections.ObservableListEjavafx.beans.property.Property |
Returns the managed item list.
artifacts()javafx.collections.ObservableListE
Ejavafx.collections.ObservableList |
A live item list. |
Get the all artifacts.
items()javafx.collections.ObservableListE
Ejavafx.collections.ObservableList |
A live item list. |
Get the all items.
items(Eitems)Self
Eitems)Eitems |
All items to set. |
Self |
Chainable API. |
Sets all values as items.
items(kiss.SignalEitems)Self
kiss.SignalEitems)kiss.Signalitems |
All items to set. |
Self |
Chainable API. |
Sets all values as items.
items(BaseStreamE, ?items)Self
BaseStreamE, ?items)BaseStreamitems |
All items to set. |
Self |
Chainable API. |
Sets all values as items.
items(IterableEitems)Self
IterableEitems)Iterableitems |
All items to set. |
Self |
Chainable API. |
Sets all values as items.
items(ListEitems)Self
ListEitems)Listitems |
All items to set. |
Self |
Chainable API. |
Sets all values as items.
items(intstart, intend, IntFunctionEmapper)Self
intstart, intend, IntFunctionEmapper)intstart |
The inclusive initial value. |
intend |
The inclusive upper bound. |
IntFunctionmapper |
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)kiss.Signalreload |
|
Supplieritems |
|
Self |
Chainable API. |
Sets all values as items.
itemsWhen(kiss.Signal?reload, ConsumerSelfsetter)Self
kiss.Signal?reload, ConsumerSelfsetter)kiss.Signalreload |
|
Consumersetter |
|
Self |
Chainable API. |
Sets all values as items.
initialize(EinitialItems)Self
EinitialItems)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)kiss.SignalinitialItems |
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)BaseStreaminitialItems |
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)IterableinitialItems |
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)ListinitialItems |
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, ListEinitialItems)EdefaultValue |
A default value. |
ListinitialItems |
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)kiss.WiseConsumersave |
|
Self |
Maintain an edit history of this value with default context.
historicalItems(kiss.WiseConsumerListEsave, Editocontext)Self
kiss.WiseConsumerListEsave, Editocontext)X |
|
kiss.WiseConsumersave |
|
Editocontext |
|
Self |
Maintains an edit history of this value with your context.
first()kiss.VariableE
Ekiss.Variable |
Returns the first item.
firstArtifact()kiss.VariableE
Ekiss.Variable |
Returns the first item.
last()kiss.VariableE
Ekiss.Variable |
Returns the last item.
lastArtifact()kiss.VariableE
Ekiss.Variable |
Returns the last item.
size()int
int |
Return the number of items.
indexOf(Eitem)int
Eitem)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)Eitem |
A target to search. |
boolean |
A result. |
Check whether this collection has the specified item or not.
addItemAt(intindex, Eitem)Self
intindex, Eitem)intindex |
An index to add. |
Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item.
addItemAtIfAbsent(intindex, Eitem)Self
intindex, Eitem)intindex |
An index to add. |
Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item.
addItemAtFirst(Eitem)Self
Eitem)Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item at the first.
addItemAtFirstIfAbsent(Eitem)Self
Eitem)Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item at the first.
addItemAtLast(Eitem)Self
Eitem)Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item at the last.
addItemAtLastIfAbsent(Eitem)Self
Eitem)Eitem |
An item to add. |
Self |
Chainable API. |
Add the specified item at the last.
setItemAt(intindex, Eitem)Self
intindex, Eitem)intindex |
An index to add. |
Eitem |
An item to add. |
Self |
Chainable API. |
Set the specified item.
removeItem(Eitem)Self
Eitem)Eitem |
An item to remove. |
Self |
Chainable API. |
Remove the specified item.
removeItems(CollectionEitems)Self
CollectionEitems)Collectionitems |
A collection of items to remove. |
Self |
Chainable API. |
Remove the specified item.
removeItemAll()Self
Self |
Remove all items.
removeItemAt(intindexies)Self
intindexies)intindexies |
|
Self |
Chainable API. |
Remove an item at the specified index.
removeItemAt(ListIntegerindexies)Self
ListIntegerindexies)Listindexies |
|
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, Ereplacer)kiss.Variabletarget |
An index.. |
Ereplacer |
An item to replace. |
Self |
Chainable API. |
Replace the specified item.
replaceItemAt(Etarget, Ereplacer)Self
Etarget, Ereplacer)Etarget |
An index.. |
Ereplacer |
An item to replace. |
Self |
Chainable API. |
Replace the specified item.
swap(intone, intother)Self
intone, intother)intone |
|
intother |
|
Self |
Chainable API. |
Swap its position each items.
sort(ComparatorEsorter)Self
ComparatorEsorter)Comparatorsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sortBy(Function?E, ?Usorter)Self
Function?E, ?Usorter)U |
|
Functionsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sortByInt(ToIntFunction?Esorter)Self
ToIntFunction?Esorter)ToIntFunctionsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sortByLong(ToLongFunction?Esorter)Self
ToLongFunction?Esorter)ToLongFunctionsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sortByDouble(ToDoubleFunction?Esorter)Self
ToDoubleFunction?Esorter)ToDoubleFunctionsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sort(ValueHelper?, Vcontext, FunctionV, ComparatorEsorter)Self
ValueHelper?, Vcontext, FunctionV, ComparatorEsorter)V |
|
ValueHelpercontext |
An additional infomation. |
Functionsorter |
A item comparator. |
Self |
Chainable API. |
Sort items by the specified Comparator.
sort(ComparatorEsorter, PredicateEselector)Self
ComparatorEsorter, PredicateEselector)Comparatorsorter |
A item comparator. |
Predicateselector |
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
Booleankiss.Signal |
Get the filetering state.
hasNothing()kiss.SignalBoolean
Booleankiss.Signal |
Get the filetering state.
hasSomething()kiss.SignalBoolean
Booleankiss.Signal |
Get the filetering state.
take(PredicateEfilter)Self
PredicateEfilter)Predicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
take(javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)Self
javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)C |
|
javafx.beans.value.ObservableValuecontext |
An additional infomation. |
BiPredicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
take(ValueHelper?, Ccontext, BiPredicateE, Cfilter)Self
ValueHelper?, Ccontext, BiPredicateE, Cfilter)C |
|
ValueHelpercontext |
An additional infomation. |
BiPredicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
take(kiss.SignalPredicateEfilter)Self
kiss.SignalPredicateEfilter)kiss.Signalfilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
skip(PredicateEfilter)Self
PredicateEfilter)Predicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
skip(javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)Self
javafx.beans.value.ObservableValueCcontext, BiPredicateE, Cfilter)C |
|
javafx.beans.value.ObservableValuecontext |
An additional infomation. |
BiPredicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
skip(ValueHelper?, Ccontext, BiPredicateE, Cfilter)Self
ValueHelper?, Ccontext, BiPredicateE, Cfilter)C |
|
ValueHelpercontext |
An additional infomation. |
BiPredicatefilter |
A conditional filter. |
Self |
Chainable API. |
Filter items by the specified condition.
query()CompoundQueryE
ECompoundQuery |
Get the associated CompoundQuery.
observeItemState(FunctionE, kiss.VariablestateExtractor)Self
FunctionE, kiss.VariablestateExtractor)FunctionstateExtractor |
|
Self |
Chainable API. |
Observe each items's state to update view.
observeItems()kiss.Signaljavafx.collections.ObservableListE
javafx.collections.ObservableListEkiss.Signal |
Observe the modification of items.
observeItems(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self
kiss.WiseConsumerjavafx.collections.ObservableListElistener)kiss.WiseConsumerlistener |
|
Self |
Observe the modification of items.
observingItems()kiss.Signaljavafx.collections.ObservableListE
javafx.collections.ObservableListEkiss.Signal |
Observe the modification of items.
observingItems(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self
kiss.WiseConsumerjavafx.collections.ObservableListElistener)kiss.WiseConsumerlistener |
|
Self |
Observe the modification of items.
observeArtifacts()kiss.Signaljavafx.collections.ObservableListE
javafx.collections.ObservableListEkiss.Signal |
Observe the modification of artifacts.
observeArtifacts(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self
kiss.WiseConsumerjavafx.collections.ObservableListElistener)kiss.WiseConsumerlistener |
|
Self |
Observe the modification of artifacts.
observingArtifacts()kiss.Signaljavafx.collections.ObservableListE
javafx.collections.ObservableListEkiss.Signal |
Observe the modification of artifacts.
observingArtifacts(kiss.WiseConsumerjavafx.collections.ObservableListElistener)Self
kiss.WiseConsumerjavafx.collections.ObservableListElistener)kiss.WiseConsumerlistener |
|
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)javafx.collections.ObservableListnewList |
|
Self |
Update the original ObservableList, which should not normally be touched.