|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.ui.form.field.definition.ConfiguredFieldDefinition
info.magnolia.ui.form.field.definition.RichTextFieldDefinition
public class RichTextFieldDefinition
Field definition for a rich-text field.
Constructor Summary | |
---|---|
RichTextFieldDefinition()
|
Method Summary | |
---|---|
String |
getColors()
Defines the text colors that are allowed in this rich-text field. |
String |
getConfigJsFile()
Defines the custom configuration file for this rich-text field. |
String |
getFonts()
Defines the font families that are allowed in this rich-text field. |
String |
getFontSizes()
Defines the font sizes that are allowed in this rich-text field. |
long |
getHeight()
Defines the height of this rich-text field, in pixels. |
boolean |
isAlignment()
Defines whether text alignment (left, center, right, justify) is allowed in this rich-text field. |
boolean |
isImages()
Defines whether images are allowed in this rich-text field. |
boolean |
isLists()
Defines whether lists are allowed in this rich-text field. |
boolean |
isSource()
Defines whether source mode is allowed in this rich-text field. |
boolean |
isTables()
Defines whether tables are allowed in this rich-text field. |
void |
setAlignment(boolean alignment)
|
void |
setColors(String colors)
|
void |
setConfigJsFile(String configJsFile)
|
void |
setFonts(String fonts)
|
void |
setFontSizes(String fontSizes)
|
void |
setHeight(long height)
|
void |
setImages(boolean images)
|
void |
setLists(boolean lists)
|
void |
setSource(boolean source)
|
void |
setTables(boolean tables)
|
Methods inherited from class info.magnolia.ui.form.field.definition.ConfiguredFieldDefinition |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RichTextFieldDefinition()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |