Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SwingBuilder is one of the most used Groovy builders. It follows the standard structure of BuilderSupport but uses the concept of factories to build each node. Seeing that the concept was useful enough for other builders the basic implementation was taken out of SwingBuilder and FactoryBuilderSupport was born (and SwingBuilder was retrofitted of course). How Builders Work

The Factory interface is the basic building block, the builder will call the factory's methods at specific points during node building, let's see them in their invocation order:

...