Groovy Documentation

groovy.swing.factory
[Groovy] Class WidgetFactory

java.lang.Object
  groovy.util.AbstractFactory
      groovy.swing.factory.WidgetFactory

class WidgetFactory
extends AbstractFactory

Field Summary
protected boolean leaf

 
Property Summary
java.lang.Class restrictedType

 
Constructor Summary
WidgetFactory(java.lang.Class restrictedType, boolean leaf)

 
Method Summary
boolean isLeaf()

java.lang.Object newInstance(FactoryBuilderSupport builder, java.lang.Object name, java.lang.Object value, java.util.Map attributes)

void setChild(FactoryBuilderSupport builder, java.lang.Object parent, java.lang.Object child)

 
Methods inherited from class AbstractFactory
isLeaf, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, onFactoryRegistration, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

leaf

protected final boolean leaf


 
Property Detail

restrictedType

final java.lang.Class restrictedType


 
Constructor Detail

WidgetFactory

WidgetFactory(java.lang.Class restrictedType, boolean leaf)


 
Method Detail

isLeaf

boolean isLeaf()


newInstance

java.lang.Object newInstance(FactoryBuilderSupport builder, java.lang.Object name, java.lang.Object value, java.util.Map attributes)


setChild

void setChild(FactoryBuilderSupport builder, java.lang.Object parent, java.lang.Object child)


 

Groovy Documentation