|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.painter.PainterFactoryIterator
Iterator for registered painter factories
| Field Summary | |
private int |
cacheId
The id of the current HTTP request. |
private int |
cursor
The cursor that points to the current element in our factory list |
private int |
direction
Stores the increment (the direction) the iterator will iterate it's collection |
private java.util.List |
factoryList
The list of registered painter factories in the current page context |
| Constructor Summary | |
PainterFactoryIterator()
Constructor |
|
| Method Summary | |
boolean |
hasNext()
|
void |
init(javax.servlet.jsp.PageContext pageContext,
boolean topDown)
Constructor |
void |
invalidate()
Invalidates the cached state of the iterator |
java.lang.Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int direction
private int cacheId
private java.util.List factoryList
private int cursor
| Constructor Detail |
public PainterFactoryIterator()
| Method Detail |
public void invalidate()
public void init(javax.servlet.jsp.PageContext pageContext,
boolean topDown)
pageContext - The JSP Page ContexttopDown - indicates the direction the iterator will iterate it's
collectionpublic boolean hasNext()
hasNext in interface java.util.IteratorIterator.hasNext()public java.lang.Object next()
next in interface java.util.IteratorIterator.next()public void remove()
remove in interface java.util.IteratorIterator.remove()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||