We start our Renderer by creating a FieldBuilder. We do this because our Renderer isn't going to do all the work. It will delegate the task of rendering the input box to an existing Renderer. The FieldBuilder will store up the settings that we pass to that Renderer.
025 Field field = ((Field)component); 026 027 final FieldBuilder fieldBuilder = 028 ComponentBuilderFactory.createFieldBuilder(); 029 fieldBuilder.copy(field);