public class SwitchableFieldBuilder extends AbstractFieldBuilder
Constructor and Description |
---|
SwitchableFieldBuilder(String name) |
public SwitchableFieldBuilder(String name)
public SwitchableFieldDefinition definition()
definition
in class AbstractFieldBuilder
public SwitchableFieldBuilder layout(Layout layout)
public SwitchableFieldBuilder selectionType(String selectionType)
public SwitchableFieldBuilder options(OptionBuilder... builders)
public SwitchableFieldBuilder options(Collection<?> options)
public SwitchableFieldBuilder fields(AbstractFieldBuilder... builders)
public SwitchableFieldBuilder label(String label)
label
in class AbstractFieldBuilder
public SwitchableFieldBuilder i18nBasename(String i18nBasename)
i18nBasename
in class AbstractFieldBuilder
public SwitchableFieldBuilder i18n(boolean i18n)
i18n
in class AbstractFieldBuilder
public SwitchableFieldBuilder i18n()
i18n
in class AbstractFieldBuilder
public SwitchableFieldBuilder description(String description)
description
in class AbstractFieldBuilder
public SwitchableFieldBuilder type(String type)
type
in class AbstractFieldBuilder
public SwitchableFieldBuilder required(boolean required)
required
in class AbstractFieldBuilder
public SwitchableFieldBuilder required()
required
in class AbstractFieldBuilder
public SwitchableFieldBuilder requiredErrorMessage(String requiredErrorMessage)
requiredErrorMessage
in class AbstractFieldBuilder
public SwitchableFieldBuilder readOnly(boolean readOnly)
readOnly
in class AbstractFieldBuilder
public SwitchableFieldBuilder readOnly()
readOnly
in class AbstractFieldBuilder
public SwitchableFieldBuilder defaultValue(String defaultValue)
defaultValue
in class AbstractFieldBuilder
public SwitchableFieldBuilder styleName(String styleName)
styleName
in class AbstractFieldBuilder
public SwitchableFieldBuilder validator(ConfiguredFieldValidatorDefinition validatorDefinition)
validator
in class AbstractFieldBuilder
public SwitchableFieldBuilder validator(GenericValidatorBuilder validatorBuilder)
validator
in class AbstractFieldBuilder
public SwitchableFieldBuilder transformerClass(Class<? extends Transformer<?>> transformerClass)
transformerClass
in class AbstractFieldBuilder
Copyright © 2016 Magnolia International Ltd.. All rights reserved.