Java Reference
In-Depth Information
}
public void afterPageInit() throws JRScriptletException
{
pageInitEndTime = System.currentTimeMillis();
Integer pageNum = (Integer) getVariableValue("PAGE_NUMBER");
System.out.println("Page " + pageNum + " initialization took "
+ (pageInitEndTime - pageInitStartTime) + " milliseconds.");
}
public void beforeColumnInit() throws JRScriptletException
{
columnInitStartTime = System.currentTimeMillis();
}
public void afterColumnInit() throws JRScriptletException
{
columnInitEndTime = System.currentTimeMillis();
Integer columnNum = (Integer) getVariableValue("COLUMN_NUMBER");
System.out.println("Column " + columnNum + " initialization took "
+ (columnInitEndTime - columnInitStartTime) + " milliseconds.");
}
public void beforeGroupInit(String groupName) throws
JRScriptletException
{
groupInitStartTime = System.currentTimeMillis();
}
public void afterGroupInit(String groupName) throws
JRScriptletException
{
groupInitEndTime = System.currentTimeMillis();
System.out.println("Group " + groupName + " initialization took "
+ (groupInitEndTime - groupInitStartTime) + " milliseconds.");
}
public void beforeDetailEval() throws JRScriptletException
{
detailEvalStartTime = System.currentTimeMillis();
}
 
Search WWH ::




Custom Search