Style Intelligence v12.0

inetsoft.report.lens
Class DefaultCompositeLens

java.lang.Object
  extended by inetsoft.report.lens.DefaultCompositeLens
All Implemented Interfaces:
Enumeration

public class DefaultCompositeLens
extends Object
implements Enumeration

It takes a ReportSheet as constructor argument, and returns elements in the report from nextElement(). Use it to add another report to the middle of a report.


Constructor Summary
DefaultCompositeLens(ReportSheet report)
          constructor, will return elements of the default type.
DefaultCompositeLens(ReportSheet report, int type)
          constructor, will return elements of the specified type.
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCompositeLens

public DefaultCompositeLens(ReportSheet report)
constructor, will return elements of the default type.

Parameters:
report - a report which is used to insert into another report..

DefaultCompositeLens

public DefaultCompositeLens(ReportSheet report,
                            int type)
constructor, will return elements of the specified type.

Parameters:
report - used to insert into another report..
type - the specified type.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.