org.pentaho.chart
Class ChartDocumentValidator

java.lang.Object
  extended by org.pentaho.chart.ChartDocumentValidator

public class ChartDocumentValidator
extends Object

Performs validation on the ChartDocument and ensures it is proper for rendering a chart.

Author:
David Kincade

Constructor Summary
ChartDocumentValidator(ChartDocument chartDoc)
          Constructs a validator for the specified ChartDocument
 
Method Summary
 int getMessageCount()
          Returns the number of messages generated from the last validation test
 void revalidate()
          Performs the validation process on the chart document
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartDocumentValidator

public ChartDocumentValidator(ChartDocument chartDoc)
Constructs a validator for the specified ChartDocument

Parameters:
chartDoc -
Method Detail

revalidate

public void revalidate()
Performs the validation process on the chart document


getMessageCount

public int getMessageCount()
Returns the number of messages generated from the last validation test