Package org.javlo.fields
Class FieldWysiwyg
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldWysiwyg
-
- All Implemented Interfaces:
Cloneable
,Comparable<Field>
,IRestItem
- Direct Known Subclasses:
FieldWysiwygWithTitle
public class FieldWysiwyg extends Field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
-
Fields inherited from class org.javlo.fields.Field
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FieldWysiwyg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayValue(ContentContext ctx, Locale locale)
return the value "displayable"protected String
getEditorComplexity(ContentContext ctx)
String
getEditXHTMLCode(ContentContext ctx, boolean search)
protected int
getMaxParagraph()
String
getSearchEditXHTMLCode(ContentContext ctx)
String
getText()
String
getType()
String
getValue()
String
getXHTMLValue()
protected boolean
isValueTranslatable()
boolean
transflateFrom(ContentContext ctx, ITranslator translator, String lang)
boolean
validate()
-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFieldView, getReferenceFormatedValue, getReferenceValue, getRemplacementCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValues, getValues, getViewListXHTMLCode, getViewXHTMLCode, getWidthEdit, initContent, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isPertinent, isReadOnly, isRealContent, isSearch, isTitle, isValid, isViewDisplayed, isWrapped, main, newFieldBean, newInstance, process, referenceEditCode, referenceViewCode, reload, renderSelect, search, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString
-
-
-
-
Method Detail
-
getEditorComplexity
protected String getEditorComplexity(ContentContext ctx) throws Exception
- Throws:
Exception
-
getMaxParagraph
protected int getMaxParagraph()
-
getText
public String getText()
-
getSearchEditXHTMLCode
public String getSearchEditXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getSearchEditXHTMLCode
in classField
- Throws:
Exception
-
getEditXHTMLCode
public String getEditXHTMLCode(ContentContext ctx, boolean search)
- Overrides:
getEditXHTMLCode
in classField
-
getDisplayValue
public String getDisplayValue(ContentContext ctx, Locale locale) throws Exception
return the value "displayable"- Overrides:
getDisplayValue
in classField
- Parameters:
locale
-- Returns:
- Throws:
Exception
-
getXHTMLValue
public String getXHTMLValue()
- Overrides:
getXHTMLValue
in classField
-
isValueTranslatable
protected boolean isValueTranslatable()
- Overrides:
isValueTranslatable
in classField
-
transflateFrom
public boolean transflateFrom(ContentContext ctx, ITranslator translator, String lang)
- Overrides:
transflateFrom
in classField
-
-