com.sun.faces.facelets.tag
public class IterationStatus extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
begin |
private java.lang.Object |
current |
private java.lang.Integer |
end |
private boolean |
even |
private boolean |
first |
private int |
index |
private int |
iterationCount |
private boolean |
last |
private static long |
serialVersionUID |
private java.lang.Integer |
step |
Constructor and Description |
---|
IterationStatus(boolean first,
boolean last,
int index,
java.lang.Integer begin,
java.lang.Integer end,
java.lang.Integer step)
Constructor used for ui:repeat.
|
IterationStatus(boolean first,
boolean last,
int index,
java.lang.Integer begin,
java.lang.Integer end,
java.lang.Integer step,
java.lang.Object current,
int iterationCount)
Constructor used for c:forEach varStatus
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getBegin() |
int |
getCount() |
java.lang.Object |
getCurrent() |
java.lang.Integer |
getEnd() |
int |
getIndex() |
java.lang.Integer |
getStep() |
boolean |
isEven() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isOdd() |
java.lang.String |
toString() |
private static final long serialVersionUID
private final int index
private final boolean first
private final boolean last
private final java.lang.Integer begin
private final java.lang.Integer end
private final java.lang.Integer step
private final boolean even
private final java.lang.Object current
private final int iterationCount
public IterationStatus(boolean first, boolean last, int index, java.lang.Integer begin, java.lang.Integer end, java.lang.Integer step)
public IterationStatus(boolean first, boolean last, int index, java.lang.Integer begin, java.lang.Integer end, java.lang.Integer step, java.lang.Object current, int iterationCount)
public boolean isFirst()
public boolean isLast()
public java.lang.Integer getBegin()
public java.lang.Integer getEnd()
public int getIndex()
public java.lang.Integer getStep()
public java.lang.Object getCurrent()
public int getCount()
public boolean isEven()
public boolean isOdd()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.