public class TextFieldBuilder extends AbstractFieldBuilder
Constructor and Description |
---|
TextFieldBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
TextFieldBuilder |
defaultValue(String defaultValue) |
TextFieldDefinition |
definition() |
TextFieldBuilder |
description(String description) |
TextFieldBuilder |
i18n() |
TextFieldBuilder |
i18n(boolean i18n) |
TextFieldBuilder |
i18nBasename(String i18nBasename) |
TextFieldBuilder |
label(String label) |
TextFieldBuilder |
maxLength(int maxLength) |
TextFieldBuilder |
readOnly() |
TextFieldBuilder |
readOnly(boolean readOnly) |
TextFieldBuilder |
required() |
TextFieldBuilder |
required(boolean required) |
TextFieldBuilder |
requiredErrorMessage(String requiredErrorMessage) |
TextFieldBuilder |
rows(int rows) |
TextFieldBuilder |
styleName(String styleName) |
TextFieldBuilder |
transformerClass(Class<? extends Transformer<?>> transformerClass) |
TextFieldBuilder |
type(String type) |
TextFieldBuilder |
validator(ConfiguredFieldValidatorDefinition validatorDefinition) |
TextFieldBuilder |
validator(GenericValidatorBuilder validatorBuilder) |
public TextFieldBuilder(String name)
public TextFieldDefinition definition()
definition
in class AbstractFieldBuilder
public TextFieldBuilder rows(int rows)
public TextFieldBuilder maxLength(int maxLength)
public TextFieldBuilder label(String label)
label
in class AbstractFieldBuilder
public TextFieldBuilder i18nBasename(String i18nBasename)
i18nBasename
in class AbstractFieldBuilder
public TextFieldBuilder i18n(boolean i18n)
i18n
in class AbstractFieldBuilder
public TextFieldBuilder i18n()
i18n
in class AbstractFieldBuilder
public TextFieldBuilder description(String description)
description
in class AbstractFieldBuilder
public TextFieldBuilder type(String type)
type
in class AbstractFieldBuilder
public TextFieldBuilder required(boolean required)
required
in class AbstractFieldBuilder
public TextFieldBuilder required()
required
in class AbstractFieldBuilder
public TextFieldBuilder requiredErrorMessage(String requiredErrorMessage)
requiredErrorMessage
in class AbstractFieldBuilder
public TextFieldBuilder readOnly(boolean readOnly)
readOnly
in class AbstractFieldBuilder
public TextFieldBuilder readOnly()
readOnly
in class AbstractFieldBuilder
public TextFieldBuilder defaultValue(String defaultValue)
defaultValue
in class AbstractFieldBuilder
public TextFieldBuilder styleName(String styleName)
styleName
in class AbstractFieldBuilder
public TextFieldBuilder validator(ConfiguredFieldValidatorDefinition validatorDefinition)
validator
in class AbstractFieldBuilder
public TextFieldBuilder validator(GenericValidatorBuilder validatorBuilder)
validator
in class AbstractFieldBuilder
public TextFieldBuilder transformerClass(Class<? extends Transformer<?>> transformerClass)
transformerClass
in class AbstractFieldBuilder
Copyright © 2020 Magnolia International Ltd.. All rights reserved.