Package: groovy.swing.factory

## [Groovy] Class ListFactory

- groovy.swing.factory.ListFactory

-     class ListFactory
      extends AbstractFactory

  Create a JList, and handle the optional items attribute.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ListFactory()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Object` | `newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)` Creates the node handled by this factory.
    `` | `boolean` | `onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)` Handles custom node attributes before default bean processing.

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

    - #### ListFactory()

  - ### Method Detail

    - #### 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

    - #### boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)

      Handles custom node attributes before default bean processing.

      Parameters:
        `builder` - the factory builder
        `node` - the current node
        `attributes` - the node attributes
      Returns:
        true if default attribute handling should continue