net.sf.jasperreports.engine.util
Class DeepPrintElementCounter
java.lang.Object
net.sf.jasperreports.engine.util.UniformPrintElementVisitor<AtomicInteger>
net.sf.jasperreports.engine.util.DeepPrintElementCounter
- All Implemented Interfaces:
- PrintElementVisitor<AtomicInteger>
public class DeepPrintElementCounter
- extends UniformPrintElementVisitor<AtomicInteger>
Print element visitor that counts deep elements by recursively visiting
JRPrintFrame containers.
- Version:
- $Id: DeepPrintElementCounter.java 4808 2011-11-21 13:44:22Z lucianc $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeepPrintElementCounter
protected DeepPrintElementCounter()
count
public static int count(JRPrintElement element)
- Calculates the deep element count of an element.
- Parameters:
element -
- Returns:
- the deep element count of the element
visitElement
protected void visitElement(JRPrintElement element,
AtomicInteger count)
- Specified by:
visitElement in class UniformPrintElementVisitor<AtomicInteger>
Copyright © 2012. All Rights Reserved.