org.zkoss.web.servlet.dsp.action
Interface LoopStatus


public interface LoopStatus

Exposes the current status of an iteration. Used with ForEach if ForEach.setVarStatus(java.lang.String) is called.

Author:
tomyeh

Method Summary
 Object getCurrent()
          Retrieves the current item in the iteration.
 int getIndex()
          Retrieves the index of the current round of the iteration (0-based).
 

Method Detail

getIndex

int getIndex()
Retrieves the index of the current round of the iteration (0-based).


getCurrent

Object getCurrent()
Retrieves the current item in the iteration.



Copyright © 2015. All rights reserved.