|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwebwork.view.taglib.IteratorStatus
The iterator tag can export an IteratorStatus object so that one can get information about the status of the iteration, such as the size, current index, and whether any more items are available.
Nested Class Summary | |
static class |
IteratorStatus.StatusState
|
Field Summary | |
protected IteratorStatus.StatusState |
state
|
Constructor Summary | |
IteratorStatus(IteratorStatus.StatusState aState)
|
Method Summary | |
int |
getCount()
|
int |
getIndex()
|
boolean |
isEven()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
isOdd()
|
int |
modulus(int operand)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IteratorStatus.StatusState state
Constructor Detail |
public IteratorStatus(IteratorStatus.StatusState aState)
Method Detail |
public boolean isFirst()
public boolean isLast()
public int getCount()
public int getIndex()
public boolean isOdd()
public boolean isEven()
public int modulus(int operand)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |