|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openpcl.pclrenderimage.render.PriRenderCounters
public class PriRenderCounters
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).
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 |
---|
public PriRenderCounters()
Method Detail |
---|
public void resetRenderCounters()
public int getNumEverythingDrawn()
public void bumpNumCharsDrawn()
public void bumpNumSoftFontCharsDrawn()
public void bumpNumRectanglesDrawn()
public void bumpNumRasterRowsDrawn()
public void bumpNumSignatureBlocksDrawn()
public void bumpNumMacrosExecuted()
public int getNumCharsDrawn()
public int getNumSoftFontCharsDrawn()
public int getNumRectanglesDrawn()
public int getNumRasterRowsDrawn()
public int getNumSignatureBlocksDrawn()
public int getNumMacrosExecuted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |