fdda.graphics.java2d
Class ComponentSelection.SelectionIterator

java.lang.Object
  |
  +--fdda.graphics.java2d.ComponentSelection.SelectionIterator
All Implemented Interfaces:
Iterator
Enclosing class:
ComponentSelection

class ComponentSelection.SelectionIterator
extends Object
implements Iterator

An iterator on the selection, not allowing any modifications.


Constructor Summary
ComponentSelection.SelectionIterator(Iterator it)
          Constructor
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
          Isn't supported and always throws the exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentSelection.SelectionIterator

public ComponentSelection.SelectionIterator(Iterator it)
Constructor

Parameters:
it - the real iterator
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
            throws UnsupportedOperationException
Isn't supported and always throws the exception

Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException - always
See Also:
Iterator.remove()


API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.