net.sf.jett.event
Class TagLoopEvent

java.lang.Object
  extended by net.sf.jett.event.TagEvent
      extended by net.sf.jett.event.TagLoopEvent

public class TagLoopEvent
extends TagEvent

A TagLoopEvent represents data associated with a "tag loop processed" event. It contains the same data as a TagEvent, plus the current 0-based looping index.

Since:
0.3.0
Author:
Randy Gettman
See Also:
TagEvent

Constructor Summary
TagLoopEvent()
          Constructs a TagLoopEvent with a loop index of zero.
 
Method Summary
 int getLoopIndex()
          Returns the current loop index (zero-based).
 void setLoopIndex(int loopIndex)
          Sets the current loop index (zero-based).
 
Methods inherited from class net.sf.jett.event.TagEvent
getBeans, getBlock, getSheet, setBeans, setBlock, setSheet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagLoopEvent

public TagLoopEvent()
Constructs a TagLoopEvent with a loop index of zero.

Method Detail

getLoopIndex

public int getLoopIndex()
Returns the current loop index (zero-based).

Returns:
The current loop index (zero-based).

setLoopIndex

public void setLoopIndex(int loopIndex)
Sets the current loop index (zero-based).

Parameters:
loopIndex - The current loop index (zero-based).


Copyright © 2012-2013 Jett Team. All Rights Reserved.