public class OptionGroupFieldDefinition extends SelectFieldDefinition
DEFAULT_REPOSITORY_NAME, OPTION_ICONSRC_PROPERTY_NAME, OPTION_LABEL_PROPERTY_NAME, OPTION_NAME_PROPERTY_NAME, OPTION_SELECTED_PROPERTY_NAME, OPTION_VALUE_PROPERTY_NAME
Constructor and Description |
---|
OptionGroupFieldDefinition()
Option group need a specific
Transformer in order to handle the conversion between Set and List. |
Modifier and Type | Method and Description |
---|---|
Layout |
getLayout()
Defines whether options should be displayed horizontally or vertically.
|
boolean |
isMultiselect() |
void |
setLayout(Layout layout) |
void |
setMultiselect(boolean multiple) |
addOption, getComparatorClass, getFilteringMode, getLabelProperty, getOptions, getPageLength, getPath, getRepository, getValueProperty, isSortOptions, isTextInputAllowed, setComparatorClass, setFilteringMode, setFilteringMode, setLabelProperty, setOptions, setPageLength, setPath, setRepository, setSortOptions, setTextInputAllowed, setValueProperty
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 OptionGroupFieldDefinition()
Transformer
in order to handle the conversion between Set and List.public boolean isMultiselect()
public void setMultiselect(boolean multiple)
public Layout getLayout()
Layout
enum value corresponding to current orientation. Defaults to Layout.vertical
.Layout
public void setLayout(Layout layout)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.