org.apache.myfaces.view.facelets.component
Class RepeatStatus

java.lang.Object
  extended by org.apache.myfaces.view.facelets.component.RepeatStatus
All Implemented Interfaces:
Serializable

public final class RepeatStatus
extends Object
implements Serializable

This class is used as the bean that contains all the status information of UIRepeat during iteration. It is stored in the RequestScope under the key specified in varStatus of UIRepeat.

Version:
$Revision: 940641 $ $Date: 2010-05-03 16:51:36 -0500 (Mon, 03 May 2010) $
Author:
Curtiss Howard (latest modification by $Author: jakobk $)
See Also:
Serialized Form

Constructor Summary
RepeatStatus(boolean first, boolean last, int count, int index, Integer begin, Integer end, Integer step)
           
 
Method Summary
 Integer getBegin()
           
 Integer getEnd()
           
 int getIndex()
           
 Integer getStep()
           
 boolean isEven()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean isOdd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatStatus

public RepeatStatus(boolean first,
                    boolean last,
                    int count,
                    int index,
                    Integer begin,
                    Integer end,
                    Integer step)
Method Detail

isFirst

public boolean isFirst()

isLast

public boolean isLast()

isEven

public boolean isEven()

isOdd

public boolean isOdd()

getBegin

public Integer getBegin()

getEnd

public Integer getEnd()

getIndex

public int getIndex()

getStep

public Integer getStep()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.