public class SwitchableFieldDefinition extends CompositeFieldDefinition
Constructor and Description |
---|
SwitchableFieldDefinition()
Set default
Transformer . |
Modifier and Type | Method and Description |
---|---|
List<SelectFieldOptionDefinition> |
getOptions() |
String |
getSelectionType()
Default selectionType is 'radio'.
|
void |
setOptions(List<SelectFieldOptionDefinition> options) |
void |
setSelectionType(String selectionType) |
addField, addFieldName, getFieldNames, getFields, getFieldsName, getLayout, setFields, setLayout
addValidator, getConverterClass, getDefaultValue, getDescription, getI18nBasename, getLabel, getName, getRequiredErrorMessage, getStyleName, getTransformerClass, getType, getValidators, isI18n, isReadOnly, isRequired, setConverterClass, setDefaultValue, setDescription, setI18n, setI18nBasename, setLabel, setName, setReadOnly, setRequired, setRequiredErrorMessage, setStyleName, setTransformerClass, setType, setValidators
public SwitchableFieldDefinition()
Transformer
.public String getSelectionType()
public List<SelectFieldOptionDefinition> getOptions()
public void setSelectionType(String selectionType)
public void setOptions(List<SelectFieldOptionDefinition> options)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.