Package com.jalios.jcms.taglib.card
Class CarouselDataTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.card.CardsTag
-
- com.jalios.jcms.taglib.card.CardsDataTag
-
- com.jalios.jcms.taglib.card.CarouselDataTag
-
- 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
public class CarouselDataTag extends CardsDataTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_CAROUSEL_COLLECTION_RESOURCE
static java.lang.String
THUMBNAIL_DEFAULT_HEIGHT_PROP
static java.lang.String
THUMBNAIL_DEFAULT_WIDTH_PROP
static int
THUMBNAIL_DEFAUT_HEIGHT
static int
THUMBNAIL_DEFAUT_WIDTH
-
Fields inherited from class com.jalios.jcms.taglib.card.CardsDataTag
collection, counterName, DEFAULT_CARD_COLLECTION_RESOURCE, DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX, DEFAULT_COUNTER_NAME, DEFAULT_VAR_NAME, internalIterator, REVISION, titleTag, var
-
Fields inherited from class com.jalios.jcms.taglib.card.CardsTag
DEFAULT_DISPLAY_MODE
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description CarouselDataTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doStartTag()
boolean
getArrows()
long
getAutoplayCarousel()
boolean
getDots()
boolean
getShowTitle()
int
getSlidesToShow()
void
setArrows(boolean arrows)
void
setAutoplayCarousel(long autoplayCarousel)
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setDots(boolean dots)
void
setShowAuthor(boolean showAuthor)
void
setShowDate(boolean showDate)
void
setShowTitle(boolean showTitle)
void
setSlidesToShow(int slidesToShow)
-
Methods inherited from class com.jalios.jcms.taglib.card.CardsDataTag
doAfterBody, processIteration, setCollection, setCounterName, setTemplate, setTitleTag, setVar
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, 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
-
DEFAULT_CAROUSEL_COLLECTION_RESOURCE
public static final java.lang.String DEFAULT_CAROUSEL_COLLECTION_RESOURCE
-
THUMBNAIL_DEFAULT_WIDTH_PROP
public static final java.lang.String THUMBNAIL_DEFAULT_WIDTH_PROP
- See Also:
- Constant Field Values
-
THUMBNAIL_DEFAULT_HEIGHT_PROP
public static final java.lang.String THUMBNAIL_DEFAULT_HEIGHT_PROP
- See Also:
- Constant Field Values
-
THUMBNAIL_DEFAUT_WIDTH
public static final int THUMBNAIL_DEFAUT_WIDTH
- See Also:
- Constant Field Values
-
THUMBNAIL_DEFAUT_HEIGHT
public static final int THUMBNAIL_DEFAUT_HEIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
clean
public void clean()
- Overrides:
clean
in classCardsDataTag
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classCardsDataTag
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classCardsDataTag
- Throws:
javax.servlet.jsp.JspException
-
getAutoplayCarousel
public long getAutoplayCarousel()
-
setAutoplayCarousel
public void setAutoplayCarousel(long autoplayCarousel)
-
getArrows
public boolean getArrows()
-
setArrows
public void setArrows(boolean arrows)
-
getDots
public boolean getDots()
-
setDots
public void setDots(boolean dots)
-
getShowTitle
public boolean getShowTitle()
-
setShowTitle
public void setShowTitle(boolean showTitle)
-
getSlidesToShow
public int getSlidesToShow()
-
setSlidesToShow
public void setSlidesToShow(int slidesToShow)
-
setShowAuthor
public void setShowAuthor(boolean showAuthor)
-
setShowDate
public void setShowDate(boolean showDate)
-
-