net.sf.jasperreports.engine
Class JRPrintElementIndex

java.lang.Object
  extended by net.sf.jasperreports.engine.JRPrintElementIndex

public class JRPrintElementIndex
extends java.lang.Object

Version:
$Id: JRPrintElementIndex.java 1364 2006-08-31 18:13:20 +0300 (Thu, 31 Aug 2006) lucianc $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
JRPrintElementIndex(int reportIndex, int pageIndex, java.lang.Integer[] elementIndexes)
           
 
Method Summary
 java.lang.Integer[] getElementIndexes()
           
 int getPageIndex()
           
 int getReportIndex()
           
static JRPrintElementIndex parsePrintElementIndex(java.lang.String indexStr)
          Parses a String representation as obtained by toString() back into an element index instance.
 java.lang.String toString()
          Returns a String representation of this element index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRPrintElementIndex

public JRPrintElementIndex(int reportIndex,
                           int pageIndex,
                           java.lang.Integer[] elementIndexes)
Method Detail

getReportIndex

public int getReportIndex()

getPageIndex

public int getPageIndex()

getElementIndexes

public java.lang.Integer[] getElementIndexes()

toString

public java.lang.String toString()
Returns a String representation of this element index.

The representation is obtained by appending all the indexes that compose this instance. The result is compatible with parsePrintElementIndex(String), which can be used to recreate the elemetn index instance from a String representation.

Overrides:
toString in class java.lang.Object

parsePrintElementIndex

public static JRPrintElementIndex parsePrintElementIndex(java.lang.String indexStr)
Parses a String representation as obtained by toString() back into an element index instance.

Parameters:
indexStr - the String representation of an element index
Returns:
an element index instance corresponding to the String representation


© 2001-2006 JasperSoft Corporation www.jaspersoft.com