Package: groovy.swing.factory

## [Groovy] Class ButtonGroupFactory

- groovy.swing.factory.ButtonGroupFactory

-     class ButtonGroupFactory
      extends BeanFactory

  Factory for creating button groups and wiring buttons into them.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `DEFAULT_DELEGATE_PROPERTY_BUTTON_GROUP` | Default child attribute name for the button group.
    `static String` | `DELEGATE_PROPERTY_BUTTON_GROUP` | Builder context key for the child button group attribute name.

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class BeanFactory` | `leaf`

  - Inherited properties
    Properties inherited from class | Properties
    --- | ---
    `class BeanFactory` | `beanClass`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `ButtonGroupFactory()` Creates a new factory for creating button groups and wiring buttons into them

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `static Object` | `buttonGroupAttributeDelegate(Object builder, Object node, Object attributes)` Applies a button group supplied through child attributes.
    `` | `Object` | `newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)` Creates the node handled by this factory.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class BeanFactory` | `isLeaf, newInstance`
    `class AbstractFactory` | `isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent`

- - ### Field Detail

    - #### public static final String DEFAULT_DELEGATE_PROPERTY_BUTTON_GROUP

      Default child attribute name for the button group.

    - #### public static final String DELEGATE_PROPERTY_BUTTON_GROUP

      Builder context key for the child button group attribute name.

  - ### Constructor Detail

    - #### ButtonGroupFactory()

      Creates a new factory for creating button groups and wiring buttons into them

  - ### Method Detail

    - #### static Object buttonGroupAttributeDelegate(Object builder, Object node, Object attributes)

      Applies a button group supplied through child attributes.

      Parameters:
        `builder` - the factory builder
        `node` - the current node
        `attributes` - the node attributes

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

      Creates the node handled by this factory.

      Parameters:
        `builder` - the factory builder
        `name` - the node name
        `value` - the node value
        `attributes` - the node attributes
      Returns:
        the created or reused node