Search this API

y.view
Class BendList

java.lang.Object
  extended by y.base.YList
      extended by y.view.BendList
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.List

public class BendList
extends YList

An list for bends

 

Nested Class Summary
 
Nested classes/interfaces inherited from class y.base.YList
YList.ListCursorImpl
 
Constructor Summary
BendList()
          Creates an empty BendList.
BendList(BendCursor c)
          Creates a list containing the bends accessible via the given bend cursor.
 
Method Summary
 BendCursor bends()
          Returns an bend cursor for this bend list.
 Bend firstBend()
          Returns the first bend in this list.
 
Methods inherited from class y.base.YList
add, add, addAll, addAll, addAll, addFirst, addFirstCell, addLast, addLastCell, clear, contains, containsAll, cursor, cyclicPred, cyclicSucc, elementAt, equals, findCell, first, firstCell, get, getCell, getInfo, hashCode, indexOf, insertAfter, insertBefore, insertCellAfter, insertCellBefore, isEmpty, iterator, last, lastCell, lastIndexOf, listIterator, listIterator, peek, pop, popLast, predCell, push, remove, remove, removeAll, removeAt, removeCell, retainAll, reverse, set, setInfo, size, sort, sort, splice, subList, succCell, toArray, toArray, toString, toVector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BendList

public BendList()
Creates an empty BendList.


BendList

public BendList(BendCursor c)
Creates a list containing the bends accessible via the given bend cursor.

Parameters:
c - A bend cursor providing bends that are initially entered into this list.
Method Detail

firstBend

public Bend firstBend()
Returns the first bend in this list.

Precondition:
!isEmpty().

bends

public BendCursor bends()
Returns an bend cursor for this bend list.

Returns:
an bend cursor granting access to the bends within this list.

© Copyright 2000-2021,
yWorks GmbH.
All rights reserved.