Package com.jalios.jcms.taglib
Class MemberPhotoTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.MemberPhotoTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
MemberTag
public class MemberPhotoTag extends IncludeTag
Tag used to display the Member photo- Since:
- jcms-8.0.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Size
size
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description MemberPhotoTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doStartTag()
java.lang.String
getAlt()
java.lang.String
getCss()
int
getHeight()
java.lang.String
getHtmlAttributes()
Data
getLinkData()
java.lang.String
getLinkHtmlAttributes()
Member
getMember()
int
getWidth()
boolean
isLink()
boolean
isShowStatus()
void
setAddFullNameAsAlt(boolean addFullNameAsAlt)
void
setAlt(java.lang.String alt)
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setDisplayName(boolean displayName)
void
setFocusable(boolean focusable)
void
setHeight(int height)
void
setHtmlAttributes(java.lang.String htmlAttributes)
void
setLink(boolean link)
void
setLinkCss(java.lang.String linkCss)
void
setLinkData(Data linkData)
void
setLinkHtmlAttributes(java.lang.String linkHtmlAttributes)
void
setMember(Member member)
void
setShowStatus(boolean showStatus)
void
setSize(PhotoSize size)
void
setSizeProperty(java.lang.String sizePropertyPrefix)
void
setWidth(int width)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doAfterBody, doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeBoolean, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, setId, setIncludeString, setJsp, setPub, setResource, setTarget, setTargetContext, setUsage, skipInclude
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
size
protected Size size
-
-
Method Detail
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classIncludeTag
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
getMember
public Member getMember()
-
setMember
public void setMember(Member member)
-
setSize
public void setSize(PhotoSize size)
-
setSizeProperty
public void setSizeProperty(java.lang.String sizePropertyPrefix)
-
getAlt
public java.lang.String getAlt()
-
setAlt
public void setAlt(java.lang.String alt)
-
getCss
public java.lang.String getCss()
-
setCss
public void setCss(java.lang.String css)
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
-
setHtmlAttributes
public void setHtmlAttributes(java.lang.String htmlAttributes)
-
getLinkData
public Data getLinkData()
-
setLinkData
public void setLinkData(Data linkData)
-
getWidth
public int getWidth()
-
setAddFullNameAsAlt
public void setAddFullNameAsAlt(boolean addFullNameAsAlt)
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
isShowStatus
public boolean isShowStatus()
-
setShowStatus
public void setShowStatus(boolean showStatus)
-
isLink
public boolean isLink()
-
setLink
public void setLink(boolean link)
-
setFocusable
public void setFocusable(boolean focusable)
-
getLinkHtmlAttributes
public java.lang.String getLinkHtmlAttributes()
-
setLinkHtmlAttributes
public void setLinkHtmlAttributes(java.lang.String linkHtmlAttributes)
-
setLinkCss
public void setLinkCss(java.lang.String linkCss)
-
setDisplayName
public void setDisplayName(boolean displayName)
-
-