y.view
Class BendList

java.lang.Object
  |
  +--y.base.YList
        |
        +--y.view.BendList
All Implemented Interfaces:
Collection

public class BendList
extends YList

An list for bends


Nested Class Summary
 
Nested classes 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, addAll, addAll, addFirst, addFirstCell, addLast, addLastCell, clear, contains, containsAll, cursor, cyclicPred, cyclicSucc, elementAt, findCell, first, firstCell, getInfo, indexOf, insertAfter, insertBefore, insertCellAfter, insertCellBefore, isEmpty, iterator, last, lastCell, peek, pop, popLast, predCell, push, remove, removeAll, removeAt, removeCell, retainAll, reverse, setInfo, size, sort, sort, splice, succCell, toArray, toArray, toString, toVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

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-2003,
yWorks GmbH.
All rights reserved.

2003