Package org.javlo.fields
Class Field.FieldBean
- java.lang.Object
-
- org.javlo.fields.Field.FieldBean
-
- Direct Known Subclasses:
FieldDate.FieldDateBean,FieldExternalLink.ExternalLinkBean,FieldFile.StaticFileBean,FieldImage.ImageBean,FieldInternalLink.InternalLinkBean,FieldSound.SoundBean,UserList.UserFieldBean
- Enclosing class:
- Field
public class Field.FieldBean extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected LocalecontentLocaleprotected ContentContextctxprotected Field.FieldBeanrefBean
-
Constructor Summary
Constructors Constructor Description FieldBean(ContentContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAllXHTML()StringgetCssClass()StringgetDisplayValue()i18n value of the field.StringgetDisplayValue(ContentContext ctx)StringgetFormatedValue()StringgetHtml()StringgetId()StringgetInputLabelName()StringgetInputName()StringgetLabel()StringgetName()intgetOrder()StringgetPrefix()Field.FieldBeangetReference()StringgetSize()StringgetSuffix()StringgetTag()StringgetText()StringgetTextForAttribute()StringgetType()StringgetUnity()StringgetUrl()StringgetURL()Deprecated.StringgetValue()List<String>getValues()StringgetViewXHTMLCode()StringgetXHTMLValue()booleanisLabelDisplayed()booleanisLabelEditable()booleanisNeeded()booleanisPertinent()booleanisReadOnly()booleanisViewDisplayed()booleanisWrapped()
-
-
-
Field Detail
-
ctx
protected final ContentContext ctx
-
contentLocale
protected final Locale contentLocale
-
refBean
protected Field.FieldBean refBean
-
-
Constructor Detail
-
FieldBean
public FieldBean(ContentContext ctx)
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getLabel
public String getLabel()
-
getUnity
public String getUnity()
-
getValue
public String getValue()
-
getText
public String getText()
-
getTextForAttribute
public String getTextForAttribute()
-
getHtml
public String getHtml()
-
getXHTMLValue
public String getXHTMLValue()
-
getDisplayValue
public String getDisplayValue() throws Exception
i18n value of the field.- Returns:
- Throws:
Exception
-
getDisplayValue
public String getDisplayValue(ContentContext ctx) throws Exception
- Throws:
Exception
-
getCssClass
public String getCssClass()
-
getPrefix
public String getPrefix()
-
getSuffix
public String getSuffix()
-
getType
public String getType()
-
getInputLabelName
public String getInputLabelName()
-
getInputName
public String getInputName()
-
getOrder
public int getOrder()
-
getTag
public String getTag()
-
isLabelDisplayed
public boolean isLabelDisplayed()
-
isLabelEditable
public boolean isLabelEditable()
-
isNeeded
public boolean isNeeded()
-
isReadOnly
public boolean isReadOnly()
-
isViewDisplayed
public boolean isViewDisplayed()
-
isWrapped
public boolean isWrapped()
-
getUrl
public String getUrl()
-
getURL
@Deprecated public String getURL()
Deprecated.
-
isPertinent
public boolean isPertinent()
-
getReference
public Field.FieldBean getReference() throws Exception
- Throws:
Exception
-
getSize
public String getSize()
-
-