com.openpcl.pclrenderimage.render
Class PriRenderCounters

java.lang.Object
  extended by com.openpcl.pclrenderimage.render.PriRenderCounters

public class PriRenderCounters
extends Object

This holds int counters for each image page that are how many rendered of: 1. Characters, 2. Soft font characters, 3. Rectanges, 4. Raster rows, 5. Signture blocks. Method resetRenderCounters() resets all to 0. Method getNumEverythingDrawn() gets the sum of all counters to determine if any drawing has been done (needed to not have the last tree node that is a blank page = buglist #47) Then the remaining methods return each individual counter int value (to be shown on the UI somewhere like on the status bar or info dialog box, just for informational, stats of how many of each was drawn on the screen for the current page only).

Author:
DocMagic, Document Systems Inc, Howard. Rendering code written May 16 2006 to July 20 2006.

Constructor Summary
PriRenderCounters()
          Constructor
 
Method Summary
 void bumpNumCharsDrawn()
           
 void bumpNumMacrosExecuted()
           
 void bumpNumRasterRowsDrawn()
           
 void bumpNumRectanglesDrawn()
           
 void bumpNumSignatureBlocksDrawn()
           
 void bumpNumSoftFontCharsDrawn()
           
 int getNumCharsDrawn()
           
 int getNumEverythingDrawn()
          Return the sum of all counters.
 int getNumMacrosExecuted()
           
 int getNumRasterRowsDrawn()
           
 int getNumRectanglesDrawn()
           
 int getNumSignatureBlocksDrawn()
           
 int getNumSoftFontCharsDrawn()
           
 void resetRenderCounters()
          Reset the counters to 0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriRenderCounters

public PriRenderCounters()
Constructor

Method Detail

resetRenderCounters

public void resetRenderCounters()
Reset the counters to 0


getNumEverythingDrawn

public int getNumEverythingDrawn()
Return the sum of all counters. If nothing was rendered on the image, then it will return 0.


bumpNumCharsDrawn

public void bumpNumCharsDrawn()

bumpNumSoftFontCharsDrawn

public void bumpNumSoftFontCharsDrawn()

bumpNumRectanglesDrawn

public void bumpNumRectanglesDrawn()

bumpNumRasterRowsDrawn

public void bumpNumRasterRowsDrawn()

bumpNumSignatureBlocksDrawn

public void bumpNumSignatureBlocksDrawn()

bumpNumMacrosExecuted

public void bumpNumMacrosExecuted()

getNumCharsDrawn

public int getNumCharsDrawn()

getNumSoftFontCharsDrawn

public int getNumSoftFontCharsDrawn()

getNumRectanglesDrawn

public int getNumRectanglesDrawn()

getNumRasterRowsDrawn

public int getNumRasterRowsDrawn()

getNumSignatureBlocksDrawn

public int getNumSignatureBlocksDrawn()

getNumMacrosExecuted

public int getNumMacrosExecuted()


OpenPCL http://www.openpcl.com