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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.