Groovy 2.2.0

groovy.swing.factory
[Groovy] Class GridBagFactory

java.lang.Object
  groovy.util.AbstractFactory
      groovy.swing.factory.BeanFactory
          groovy.swing.factory.LayoutFactory
              groovy.swing.factory.GridBagFactory

class GridBagFactory
extends LayoutFactory

Field Summary
 
Fields inherited from class LayoutFactory
DEFAULT_DELEGATE_PROPERTY_CONSTRAINT, DELEGATE_PROPERTY_CONSTRAINT
 
Fields inherited from class BeanFactory
leaf
 
Constructor Summary
GridBagFactory()

 
Method Summary
void addLayoutProperties(def context)

static Object extractAttribute(Map attrs, String name, Class type)

Returns:
null if not found.

static void processGridBagConstraintsAttributes(FactoryBuilderSupport builder, Object node, Map attributes)

 
Methods inherited from class LayoutFactory
addLayoutProperties, addLayoutProperties, constraintsAttributeDelegate, getLayoutTarget, newInstance, setParent
 
Methods inherited from class BeanFactory
isLeaf, newInstance
 
Methods inherited from class AbstractFactory
isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 

Constructor Detail

GridBagFactory

GridBagFactory()


 
Method Detail

addLayoutProperties

void addLayoutProperties(def context)


extractAttribute

static Object extractAttribute(Map attrs, String name, Class type)
Returns:
null if not found. null as a 'not found' works because all attrs except insets are primitive types, and insets will crash if set to null


processGridBagConstraintsAttributes

static void processGridBagConstraintsAttributes(FactoryBuilderSupport builder, Object node, Map attributes)


 

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