com.realtime.crossfire.jxclient.gui.gui
Class JXCWindowRenderer.OpenDialogsIterator

java.lang.Object
  extended by com.realtime.crossfire.jxclient.gui.gui.JXCWindowRenderer.OpenDialogsIterator
All Implemented Interfaces:
java.util.Iterator<Gui>
Enclosing class:
JXCWindowRenderer

private class JXCWindowRenderer.OpenDialogsIterator
extends java.lang.Object
implements java.util.Iterator<Gui>

An Iterator that returns all open dialogs in painting order.


Field Summary
private  java.util.ListIterator<Gui> it
          The backing list iterator; it returns the elements in reversed order.
 
Constructor Summary
private JXCWindowRenderer.OpenDialogsIterator()
           
 
Method Summary
 boolean hasNext()
          
 Gui next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

it

@NotNull
private final java.util.ListIterator<Gui> it
The backing list iterator; it returns the elements in reversed order.

Constructor Detail

JXCWindowRenderer.OpenDialogsIterator

private JXCWindowRenderer.OpenDialogsIterator()
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface java.util.Iterator<Gui>

next

@NotNull
public Gui next()

Specified by:
next in interface java.util.Iterator<Gui>
No Inspection:
IteratorNextCanNotThrowNoSuchElementException

remove

public void remove()

Specified by:
remove in interface java.util.Iterator<Gui>