Groovy Documentation

griffon.pivot.factory
[Groovy] Class EventListenerFactory

java.lang.Object
  groovy.util.AbstractFactory
      griffon.pivot.factory.EventListenerFactory

class EventListenerFactory
extends AbstractFactory

Authors:
Andres Almiray


Field Summary
private static Class[] PARAMS

 
Property Summary
Class adapterClass

String getListenersMethod

List parents

 
Constructor Summary
EventListenerFactory(Class adapterClass, List parents, String listenersMethod)

 
Method Summary
boolean isHandlesNodeChildren()

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

boolean onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)

void setParent(FactoryBuilderSupport builder, Object parent, Object node)

 
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
 

Field Detail

PARAMS

private static final Class[] PARAMS


 
Property Detail

adapterClass

final Class adapterClass


getListenersMethod

final String getListenersMethod


parents

final List parents


 
Constructor Detail

EventListenerFactory

EventListenerFactory(Class adapterClass, List parents, String listenersMethod)


 
Method Detail

isHandlesNodeChildren

boolean isHandlesNodeChildren()


newInstance

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


onNodeChildren

boolean onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)


setParent

void setParent(FactoryBuilderSupport builder, Object parent, Object node)


 

Groovy Documentation