Uses of Class
io.keikai.doc.collab.structs.Item
-
Packages that use Item Package Description io.keikai.doc.collab.structs io.keikai.doc.collab.types io.keikai.doc.collab.utils -
-
Uses of Item in io.keikai.doc.collab.structs
Methods in io.keikai.doc.collab.structs that return Item Modifier and Type Method Description ItemItemResult. getItem()ItemItem. getNext()Returns the next non-deleted item.ItemItem. getPrev()Returns the previous non-deleted item.static ItemItem. redoItem(Transaction transaction, Item item, java.util.Set<Item> redoItems, DeleteSet itemsToDelete, boolean ignoreRemoteMapChanges, UndoManager undoManager)Redoes the effect of an operation.static ItemItem. splitItem(Transaction transaction, Item leftItem, int diff)Splits the left item into two items.Methods in io.keikai.doc.collab.structs with parameters of type Item Modifier and Type Method Description voidAbstractContent. integrate(Transaction transaction, Item item)Integrates this content into a transaction.voidContentAny. integrate(Transaction transaction, Item item)voidContentBinary. integrate(Transaction transaction, Item item)voidContentDeleted. integrate(Transaction transaction, Item item)voidContentDoc. integrate(Transaction transaction, Item item)voidContentEmbed. integrate(Transaction transaction, Item item)voidContentFormat. integrate(Transaction transaction, Item item)voidContentJSON. integrate(Transaction transaction, Item item)voidContentString. integrate(Transaction transaction, Item item)voidContentType. integrate(Transaction transaction, Item item)static voidItem. keepItem(Item item, boolean keep)Ensures that neither the item nor any of its parents is ever deleted.static ItemItem. redoItem(Transaction transaction, Item item, java.util.Set<Item> redoItems, DeleteSet itemsToDelete, boolean ignoreRemoteMapChanges, UndoManager undoManager)Redoes the effect of an operation.static ItemItem. splitItem(Transaction transaction, Item leftItem, int diff)Splits the left item into two items.Method parameters in io.keikai.doc.collab.structs with type arguments of type Item Modifier and Type Method Description static ItemItem. redoItem(Transaction transaction, Item item, java.util.Set<Item> redoItems, DeleteSet itemsToDelete, boolean ignoreRemoteMapChanges, UndoManager undoManager)Redoes the effect of an operation.Constructors in io.keikai.doc.collab.structs with parameters of type Item Constructor Description Item(ID id, Item left, ID origin, Item right, ID rightOrigin, java.lang.Object parent, java.lang.String parentSub, AbstractContent content)Constructor for the Item class.ItemResult(Item item, int diff) -
Uses of Item in io.keikai.doc.collab.types
Fields in io.keikai.doc.collab.types with type parameters of type Item Modifier and Type Field Description protected java.util.Map<java.lang.String,Item>AbstractType. _mapMethods in io.keikai.doc.collab.types that return Item Modifier and Type Method Description ItemAbstractType. getFirst()ItemAbstractType. getItem()ItemItemTextListPosition. getLeft()ItemArraySearchMarker. getP()ItemItemTextListPosition. getRight()ItemAbstractType. getStart()Methods in io.keikai.doc.collab.types that return types with arguments of type Item Modifier and Type Method Description static java.util.Iterator<java.util.Map.Entry<java.lang.String,Item>>AbstractType. createMapIterator(java.util.Map<java.lang.String,Item> map)Creates an iterator over a map, filtering out deleted items.java.util.Iterator<java.util.Map.Entry<java.lang.String,Item>>YMap. entries()Returns an Iterator of [key, value] pairsjava.util.Map<java.lang.String,Item>AbstractType. getMap()static java.util.List<Item>AbstractType. getTypeChildren(AbstractType t)Retrieves all children of a type as a list.java.util.Iterator<java.util.Map.Entry<java.lang.String,Item>>YMap. iterator()Returns an Iterator of [key, value] pairs.Methods in io.keikai.doc.collab.types with parameters of type Item Modifier and Type Method Description voidAbstractType. integrate(Doc y, Item item)Integrate this type into the Yjs instance.voidYArray. integrate(Doc y, Item item)Integrate this type into the Yjs instance.voidYMap. integrate(Doc y, Item item)Integrate this type into the Yjs instance.voidYText. integrate(Doc y, Item item)voidYXmlElement. integrate(Doc y, Item item)Integrate this type into the Yjs instance.voidYXmlFragment. integrate(Doc y, Item item)Integrate this type into the Yjs instancestatic booleanAbstractType. isParentOf(AbstractType parent, Item child)Check if `parent` is a parent of `child`.voidItemTextListPosition. setLeft(Item left)voidArraySearchMarker. setP(Item p)voidItemTextListPosition. setRight(Item right)voidAbstractType. setStart(Item start)static voidAbstractType. typeListInsertGenericsAfter(Transaction transaction, AbstractType parent, Item referenceItem, java.util.List<?> content)Inserts generic content after a specified item in the type.Method parameters in io.keikai.doc.collab.types with type arguments of type Item Modifier and Type Method Description static java.util.Iterator<java.util.Map.Entry<java.lang.String,Item>>AbstractType. createMapIterator(java.util.Map<java.lang.String,Item> map)Creates an iterator over a map, filtering out deleted items.voidAbstractType. setMap(java.util.Map<java.lang.String,Item> map)Constructors in io.keikai.doc.collab.types with parameters of type Item Constructor Description ArraySearchMarker(Item p, int index)ItemTextListPosition(Item left, Item right, int index, java.util.Map<java.lang.String,java.lang.Object> currentAttributes)Constructor for ItemTextListPosition. -
Uses of Item in io.keikai.doc.collab.utils
Methods in io.keikai.doc.collab.utils that return Item Modifier and Type Method Description ItemDoc. getItem()static ItemStructStore. getItemCleanStart(Transaction transaction, ID id)Expects that id is actually in store.Methods in io.keikai.doc.collab.utils that return types with arguments of type Item Modifier and Type Method Description java.util.Set<Item>Changes. getAdded()java.util.Set<Item>Changes. getDeleted()java.util.function.Function<Item,java.lang.Boolean>Doc. getGcFilter()java.util.function.Function<Item,java.lang.Boolean>DocOpts. getGcFilter()Methods in io.keikai.doc.collab.utils with parameters of type Item Modifier and Type Method Description static booleanSnapshot. isVisible(Item item, Snapshot snapshot)Check if an item is visible within a given snapshot.voidDoc. setItem(Item item)Method parameters in io.keikai.doc.collab.utils with type arguments of type Item Modifier and Type Method Description voidDocOpts. setGcFilter(java.util.function.Function<Item,java.lang.Boolean> gcFilter)static voidTransaction. tryGc(DeleteSet ds, StructStore store, java.util.function.Function<Item,java.lang.Boolean> gcFilter)Attempts to garbage collect the delete set.Constructor parameters in io.keikai.doc.collab.utils with type arguments of type Item Constructor Description Changes(java.util.Set<Item> added, java.util.Set<Item> deleted, java.util.List<Delta> delta, java.util.Map<java.lang.String,Change> keys)
-