org.omegahat.Graphics.Layouts
Interface EnumeratedRegionAllocator

All Superinterfaces:
java.util.Iterator, RegionAllocator
All Known Implementing Classes:
BasicAllocator

public interface EnumeratedRegionAllocator
extends RegionAllocator, java.util.Iterator

Extension to standard RegionAllocator that remembers which descriptions have been given out previously and can be queried for the next one.


Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 RegionDescriptionInt nextDescription()
           
 void remove()
           
 
Methods inherited from interface org.omegahat.Graphics.Layouts.RegionAllocator
getRegionDescriptions, getRegions, setDescription, setDescription, setDescription
 

Method Detail

nextDescription

public RegionDescriptionInt nextDescription()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator