public class JRPrintElementIndex extends Object
Constructor and Description |
---|
JRPrintElementIndex(int reportIndex,
int pageIndex,
String address) |
Modifier and Type | Method and Description |
---|---|
Integer[] |
getAddressArray() |
int |
getPageIndex() |
int |
getReportIndex() |
static JRPrintElementIndex |
parsePrintElementIndex(String indexStr)
Parses a String representation as obtained by
toString() back
into an element index instance. |
String |
toString()
public Integer[] getElementIndexes()
{
return (Integer[]) elementIndexes.toArray(new Integer[elementIndexes.size()]);
}
/**
Returns a String representation of this element index.
|
public JRPrintElementIndex(int reportIndex, int pageIndex, String address)
public int getReportIndex()
public int getPageIndex()
public String toString()
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.
public Integer[] getAddressArray()
public static JRPrintElementIndex parsePrintElementIndex(String indexStr)
toString()
back
into an element index instance.indexStr
- the String representation of an element indexCopyright © 2017. All rights reserved.