public interface IlvGraphicEnumeration
IlvGraphicEnumeration
interface
generates a series of graphic objects, one at a time.
Successive calls to the nextElement
method return successive
graphic objects of the series.
For example, to print all graphic objects of a manager:
IlvGraphicEnumeration e = manager.getObjects(); while (e.hasMoreElements()) { System.out.println(e.nextElement()); }
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
Tests if the enumeration contains more elements.
|
IlvGraphic |
nextElement()
Returns the next graphic object of the enumeration.
|
boolean hasMoreElements()
IlvGraphic nextElement()
NoSuchElementException
- if there are no more existing elements.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.