RichTextFieldDefinition
instead.@Deprecated @MgnlDeprecated(since="6.2", description="Use new framework and info.magnolia.ui.field.RichTextFieldDefinition instead.") public class RichTextFieldDefinition extends ConfiguredFieldDefinition
Constructor and Description |
---|
RichTextFieldDefinition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getColors()
Deprecated.
Defines the text colors that are allowed in this rich-text field.
|
String |
getConfigJsFile()
Deprecated.
Defines the custom configuration file for this rich-text field.
|
String |
getFonts()
Deprecated.
Defines the font families that are allowed in this rich-text field.
|
String |
getFontSizes()
Deprecated.
Defines the font sizes that are allowed in this rich-text field.
|
long |
getHeight()
Deprecated.
Defines the height of this rich-text field, in pixels.
|
boolean |
isAlignment()
Deprecated.
Defines whether text alignment (left, center, right, justify) is allowed in this rich-text field.
|
boolean |
isImages()
Deprecated.
Defines whether images are allowed in this rich-text field.
|
boolean |
isLists()
Deprecated.
Defines whether lists are allowed in this rich-text field.
|
boolean |
isSource()
Deprecated.
Defines whether source mode is allowed in this rich-text field.
|
boolean |
isTables()
Deprecated.
Defines whether tables are allowed in this rich-text field.
|
void |
setAlignment(boolean alignment)
Deprecated.
|
void |
setColors(String colors)
Deprecated.
|
void |
setConfigJsFile(String configJsFile)
Deprecated.
|
void |
setFonts(String fonts)
Deprecated.
|
void |
setFontSizes(String fontSizes)
Deprecated.
|
void |
setHeight(long height)
Deprecated.
|
void |
setImages(boolean images)
Deprecated.
|
void |
setLists(boolean lists)
Deprecated.
|
void |
setSource(boolean source)
Deprecated.
|
void |
setTables(boolean tables)
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 boolean isAlignment()
true
if alignment is enabled, false
otherwise. Defaults to false
.public void setAlignment(boolean alignment)
public boolean isImages()
true
if images are enabled, false
otherwise. Defaults to false
.public void setImages(boolean images)
public boolean isLists()
true
if lists are enabled, false
otherwise. Defaults to true
.public void setLists(boolean lists)
public boolean isSource()
true
if source mode is enabled, false
otherwise. Defaults to false
.public void setSource(boolean source)
public boolean isTables()
true
if tables are enabled, false
otherwise. Defaults to true
.public void setTables(boolean tables)
public long getHeight()
public void setHeight(long height)
public String getColors()
public void setColors(String colors)
public String getFonts()
public void setFonts(String fonts)
public String getFontSizes()
public void setFontSizes(String fontSizes)
public String getConfigJsFile()
public void setConfigJsFile(String configJsFile)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.