Class BootstrapComponentRenderer
java.lang.Object
uk.wardm.formaker.transformer.thymeleaf.AbstractComponentRenderer
uk.wardm.formaker.transformer.thymeleaf.BootstrapComponentRenderer
- All Implemented Interfaces:
ComponentRenderer
public class BootstrapComponentRenderer extends AbstractComponentRenderer
-
Constructor Summary
Constructors Constructor Description BootstrapComponentRenderer()BootstrapComponentRenderer(boolean renderRendererWarnings, BootstrapConfig config) -
Method Summary
Modifier and Type Method Description protected voidafterComponent(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)protected voidbeforeComponent(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)protected voidrenderChoiceField(ChoiceField choiceField, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, org.thymeleaf.context.ITemplateContext context)protected voidrenderFieldErrors(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, InputField inputField)protected voidrenderFieldLabel(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, InputField inputField)protected voidrenderTextBox(TextBoxField inputField, String placeholderText, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)protected voidrenderTextField(InputField inputField, String placeholderText, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)Methods inherited from class uk.wardm.formaker.transformer.thymeleaf.AbstractComponentRenderer
htmlInputType, render, renderInputControl, resolveMessage
-
Constructor Details
-
BootstrapComponentRenderer
public BootstrapComponentRenderer() -
BootstrapComponentRenderer
-
-
Method Details
-
beforeComponent
protected void beforeComponent(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)- Specified by:
beforeComponentin classAbstractComponentRenderer
-
afterComponent
protected void afterComponent(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)- Specified by:
afterComponentin classAbstractComponentRenderer
-
renderFieldLabel
protected void renderFieldLabel(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, InputField inputField)- Specified by:
renderFieldLabelin classAbstractComponentRenderer
-
renderFieldErrors
protected void renderFieldErrors(org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, InputField inputField)- Specified by:
renderFieldErrorsin classAbstractComponentRenderer
-
renderTextBox
protected void renderTextBox(TextBoxField inputField, String placeholderText, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)- Specified by:
renderTextBoxin classAbstractComponentRenderer
-
renderTextField
protected void renderTextField(InputField inputField, String placeholderText, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model)- Specified by:
renderTextFieldin classAbstractComponentRenderer
-
renderChoiceField
protected void renderChoiceField(ChoiceField choiceField, org.thymeleaf.model.IModelFactory modelFactory, org.thymeleaf.model.IModel model, org.thymeleaf.context.ITemplateContext context)- Specified by:
renderChoiceFieldin classAbstractComponentRenderer
-