org.progeeks.jfreechart.xml
Class ChartObjectHandler.DateTickUnitBean

java.lang.Object
  extended by org.progeeks.jfreechart.xml.ChartObjectHandler.DateTickUnitBean
Enclosing class:
ChartObjectHandler

protected static class ChartObjectHandler.DateTickUnitBean
extends java.lang.Object

Utility class to build up the parameters for a DateTickUnit.

See Also:
DateTickUnit

Constructor Summary
protected ChartObjectHandler.DateTickUnitBean()
           
 
Method Summary
 org.jfree.chart.axis.DateTickUnit createTickUnit()
          Creates a DateTickUnit using the passed parameters.
 java.lang.Integer getCount()
           
 java.text.DateFormat getFormatter()
           
 java.lang.Integer getRollCount()
           
 java.lang.Integer getRollUnit()
           
 java.lang.Integer getUnit()
           
 void setCount(java.lang.Integer count)
           
 void setFormatter(java.text.DateFormat formatter)
           
 void setRollCount(java.lang.Integer rollCount)
           
 void setRollUnit(java.lang.Integer rollUnit)
           
 void setUnit(java.lang.Integer unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartObjectHandler.DateTickUnitBean

protected ChartObjectHandler.DateTickUnitBean()
Method Detail

createTickUnit

public org.jfree.chart.axis.DateTickUnit createTickUnit()
Creates a DateTickUnit using the passed parameters. Determines which constructor to use based on which parameters have been set.


getCount

public java.lang.Integer getCount()
Returns:
Returns the count.

getFormatter

public java.text.DateFormat getFormatter()
Returns:
Returns the formatter.

getRollCount

public java.lang.Integer getRollCount()
Returns:
Returns the rollCount.

getRollUnit

public java.lang.Integer getRollUnit()
Returns:
Returns the rollUnit.

getUnit

public java.lang.Integer getUnit()
Returns:
Returns the unit.

setCount

public void setCount(java.lang.Integer count)
Parameters:
count - The count to set.

setFormatter

public void setFormatter(java.text.DateFormat formatter)
Parameters:
formatter - The formatter to set.

setRollCount

public void setRollCount(java.lang.Integer rollCount)
Parameters:
rollCount - The rollCount to set.

setRollUnit

public void setRollUnit(java.lang.Integer rollUnit)
Parameters:
rollUnit - The rollUnit to set.

setUnit

public void setUnit(java.lang.Integer unit)
Parameters:
unit - The unit to set.


Copyright © 2002-2003 Paul Speed. All Rights Reserved.