Chapter 1. Welcome to the Griffon revolution
Listing 1.1. Default GroovyEditView
Listing 1.2. Adding menus and a tabbed pane to GroovyEditView.groovy
Listing 1.3. Full source of GroovyEditView.groovy
Listing 1.4. GroovyEditController with two actions
Listing 1.5. FilePanelView with a tab, a text area, and buttons
Listing 1.6. FilePanelModel with required model properties
Listing 1.7. FilePanelController’s full implementation
Listing 1.8. Full source of FilePanelView.groovy
Listing 1.9. Basic Java Swing application
Listing 1.10. Simplified Swing application
Chapter 2. A closer look at Griffon
Listing 2.1. Contents of griffon-app/conf/Application.groovy
Listing 2.2. Contents of griffon-app/conf/Builder.groovy
Listing 2.3. Environment settings on BuildConfig.groovy
Listing 2.4. Contents of Config.groovy as created by default
Listing 2.5. Default contents of Initialize.groovy
Chapter 3. Models and binding
Listing 3.1. FormModel.groovy
Listing 3.2. FormModel.groovy with enabler logic
Listing 3.3. FormView.groovy
Listing 3.4. FormController.groovy
Listing 3.5. JavaBeans bound properties in Java, the long way
Listing 3.6. Bound properties with @Bindable
Listing 3.7. java.util.Map access in Groovy
Listing 3.8. ObservableMap in action
Listing 3.9. ObservableList in action
Listing 3.10. Simple binding example
Listing 3.11. Implicit argument property examples
Listing 3.12. Contextual property binding examples
Listing 3.13. Converting a binding value
Listing 3.14. Validating a binding value