Uses of Class
com.vaadin.collaborationengine.ListKey
Packages that use ListKey
-
Uses of ListKey in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine that return ListKeyModifier and TypeMethodDescriptionListChangeEvent.getKey()
Gets the key of the list item affected by the change.ListOperationResult.getKey()
Gets the key of the item.ListChangeEvent.getNext()
Gets the key of the item which is after the current item after the change.ListChangeEvent.getOldNext()
Gets the key of the item which was after the current item before the change.ListChangeEvent.getOldPrev()
Gets the key of the item which was before the current item before the change.ListChangeEvent.getPrev()
Gets the key of the item which is before the current item after the change.static ListKey
Creates theListKey
for the providedkey
parameter.Methods in com.vaadin.collaborationengine that return types with arguments of type ListKeyModifier and TypeMethodDescriptionCollaborationList.getKeys()
Gets the keys for all the items on the list.Methods in com.vaadin.collaborationengine with parameters of type ListKeyModifier and TypeMethodDescriptionstatic ListOperation
Creates a list operation to delete the value at the position specified by the given key.<T> T
Gets the list item identifier by the given key as instance of the given type reference.<T> T
Gets the list item identifier by the given key as instance of the given class.Adds a condition that requires the specifiedkey
to be the first in the list.Adds a condition that requires the specifiedkey
to be the last in the list.Adds a condition that requires the specifiednextKey
to be right after the specifiedkey
when the operation is applied.Adds a condition that requires the specifiedprevKey
to be right before the specifiedkey
when the operation is applied.Add a condition that requires the specifiedkey
to have the specifiedvalue
.default ListOperationResult<Boolean>
CollaborationList.insertAfter
(ListKey key, Object item) Inserts the given item just after the given key location.static ListOperation
ListOperation.insertAfter
(ListKey after, Object value) Creates a list operation to insert the given value just after the position specified by the given key.default ListOperationResult<Boolean>
CollaborationList.insertBefore
(ListKey key, Object item) Inserts the given item just before the given key location.static ListOperation
ListOperation.insertBefore
(ListKey before, Object value) Creates a list operation to insert the given value just before the position specified by the given key.static ListOperation
ListOperation.insertBetween
(ListKey prev, ListKey next, Object value) Creates a list operation to insert the given value between the positions specified by the given keys.default CompletableFuture<Boolean>
Moves the second given key just after the first given key location.static ListOperation
Creates a list operation to move the given entry to just after the position specified by the given key.default CompletableFuture<Boolean>
CollaborationList.moveBefore
(ListKey key, ListKey keyToMove) Moves the second given key just before the first given key location.static ListOperation
ListOperation.moveBefore
(ListKey before, ListKey entry) Creates a list operation to move the given entry to just before the position specified by the given key.static ListOperation
ListOperation.moveBetween
(ListKey prev, ListKey next, ListKey entry) Creates a list operation to move the given entry between the positions specified by the given keys.default CompletableFuture<Boolean>
Removes the value for the item identified by the given key.default CompletableFuture<Boolean>
Sets a new value for the item identified by the given key.static ListOperation
Creates a list operation to set the given value at the position specified by the given key.