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 Locale
contentLocale
protected ContentContext
ctx
protected Field.FieldBean
refBean
-
Constructor Summary
Constructors Constructor Description FieldBean(ContentContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAllXHTML()
String
getCssClass()
String
getDisplayValue()
i18n value of the field.String
getDisplayValue(ContentContext ctx)
String
getFormatedValue()
String
getHtml()
String
getId()
String
getInputLabelName()
String
getInputName()
String
getLabel()
String
getName()
int
getOrder()
String
getPrefix()
Field.FieldBean
getReference()
String
getSize()
String
getSuffix()
String
getTag()
String
getText()
String
getTextForAttribute()
String
getType()
String
getUnity()
String
getUrl()
String
getURL()
Deprecated.String
getValue()
List<String>
getValues()
String
getViewXHTMLCode()
String
getXHTMLValue()
boolean
isLabelDisplayed()
boolean
isLabelEditable()
boolean
isNeeded()
boolean
isPertinent()
boolean
isReadOnly()
boolean
isViewDisplayed()
boolean
isWrapped()
-
-
-
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()
-
-