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

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

public final class RepeatStatus
extends java.lang.Object
implements java.io.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, java.lang.Integer begin, java.lang.Integer end, java.lang.Integer step)
           
 
Method Summary
 java.lang.Integer getBegin()
           
 java.lang.Integer getEnd()
           
 int getIndex()
           
 java.lang.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,
                    java.lang.Integer begin,
                    java.lang.Integer end,
                    java.lang.Integer step)
Method Detail

isFirst

public boolean isFirst()

isLast

public boolean isLast()

isEven

public boolean isEven()

isOdd

public boolean isOdd()

getBegin

public java.lang.Integer getBegin()

getEnd

public java.lang.Integer getEnd()

getIndex

public int getIndex()

getStep

public java.lang.Integer getStep()


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