# view

## Purpose

Property that points to the view associated with this MVC group.

## Examples

    class SampleController {
        def view
        def model
        def copyText = { evt = null ->
            view.outputTextField.text = view.inputTextField.text
        }
    }

## Description

Views are Groovy scripts that use a DSL to build a user interface. Views may have references to components built by the builder, but should not be used to create new elements; use the builder property instead.