documentationfor yFiles for HTML 3.0.0.3

Usages of ListCell

Properties

nextin ListCellGets the successor cell of this cell.
previousin ListCellGets the predecessor cell of this cell.
firstCellin YListGets the first cell of this list.
lastCellin YListGets the last cell of this list.
listCellsin YListGets a live view of this list as an IEnumerable<ListCell> of ListCell<T>s.
firstSameLayerEdgeCellin HierarchicalLayoutNodeContextGets the first same-layer edge ListCell<T> of all same-layer edges or null if there exists no same-layer edge.

Method Return Values

addFirst (T)in YListInserts the given element at the head of this list.
addLast (T)in YListInserts the given element at the tail of this list.
findCell (T)in YListReturns the first ListCell<T> that stores the given element.
findCell (function(T):boolean)in YListReturns the first ListCell<T> that matches a given predicate.
getCell (number)in YListGets the cell at the given index.
insertAfter (T, ListCell<T>)in YListInserts the given element into this list with respect to a given reference list cell.
insertBefore (T, ListCell<T>)in YListInserts the given element into this list with respect to a given reference list cell.

Method Parameters

addFirstCell (ListCell<T>)in YListAdds a formerly removed ListCell<T> at the head of this list.
addLastCell (ListCell<T>)in YListAdds a formerly removed ListCell<T> at the tail of this list.
indexOfCell (ListCell<T>)in YListReturns the zero-based index of the given cell in this list.
insertAfter (T, ListCell<T>)in YListInserts the given element into this list with respect to a given reference list cell.
insertBefore (T, ListCell<T>)in YListInserts the given element into this list with respect to a given reference list cell.
insertCellAfter (ListCell<T>, ListCell<T>)in YListInserts a formerly removed ListCell<T> into this list with respect to a given reference list cell.
insertCellBefore (ListCell<T>, ListCell<T>)in YListInserts a formerly removed ListCell<T> into this list with respect to a given reference list cell.
removeCell (ListCell<T>)in YListRemoves the given list cell, and hence the element stored in it, from this list.