Groovy Documentation

griffon.chart
[Groovy] Class ChartFactory

java.lang.Object
  groovy.util.AbstractFactory
      griffon.chart.ChartFactory

class ChartFactory
extends AbstractFactory

Authors:
Andres.Almiray


Constructor Summary
ChartFactory()

 
Method Summary
private static org.jfree.chart.JFreeChart buildChart(FactoryBuilderSupport builder, Class chartScriptClass)

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)

private static boolean toBoolean(def value, boolean defaultValue = false)

private static int toInt(def value, int defaultValue = 0i)

 
Methods inherited from class AbstractFactory
setParent, isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ChartFactory

ChartFactory()


 
Method Detail

buildChart

private static org.jfree.chart.JFreeChart buildChart(FactoryBuilderSupport builder, Class chartScriptClass)


newInstance

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)


toBoolean

private static boolean toBoolean(def value, boolean defaultValue = false)


toInt

private static int toInt(def value, int defaultValue = 0i)


 

Groovy Documentation