CodeFieldDefinition
instead.@Deprecated @MgnlDeprecated(since="6.2", description="Use new framework and info.magnolia.ui.field.CodeFieldDefinition instead.") public class CodeFieldDefinition extends ConfiguredFieldDefinition
Constructor and Description |
---|
CodeFieldDefinition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileNameProperty()
Deprecated.
Defines the Vaadin propertyId under which file name is exposed by the current form
Item . |
int |
getHeight()
Deprecated.
Defines the height of this code field, in pixels.
|
String |
getLanguage()
Deprecated.
Defines the programming language to use for syntax highlighting.
|
void |
setFileNameProperty(String fileNameProperty)
Deprecated.
|
void |
setHeight(int height)
Deprecated.
|
void |
setLanguage(String language)
Deprecated.
|
addValidator, getConverterClass, getDefaultValue, getDescription, getFieldType, getI18nBasename, getLabel, getName, getRequiredErrorMessage, getStyleName, getTransformerClass, getType, getValidators, isI18n, isReadOnly, isRequired, setConverterClass, setDefaultValue, setDescription, setFieldType, setI18n, setI18nBasename, setLabel, setName, setReadOnly, setRequired, setRequiredErrorMessage, setStyleName, setTransformerClass, setType, setValidators
public String getLanguage()
See the AceMode
enum for possible values, "freemarker"
is also supported.
AceMode
public void setLanguage(String language)
public String getFileNameProperty()
Item
.public void setFileNameProperty(String fileNameProperty)
public int getHeight()
300
.public void setHeight(int height)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.