Groovy 1.7.0

groovy.swing.factory
Class WidgetFactory

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

class WidgetFactory
extends AbstractFactory

Property Summary
protected boolean leaf

Class restrictedType

 
Constructor Summary
WidgetFactory(Class restrictedType, boolean leaf)

 
Method Summary
boolean isLeaf()

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

void setChild(FactoryBuilderSupport builder, Object parent, Object child)

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

Property Detail

leaf

protected final boolean leaf


restrictedType

final Class restrictedType


 
Constructor Detail

WidgetFactory

public WidgetFactory(Class restrictedType, boolean leaf)


 
Method Detail

isLeaf

boolean isLeaf()


newInstance

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


setChild

public void setChild(FactoryBuilderSupport builder, Object parent, Object child)


 

Copyright © 2003-2009 The Codehaus. All rights reserved.