Package com.xwiki.macros.tab.macro
Class TabMacroParameters
java.lang.Object
com.xwiki.macros.tab.macro.TabMacroParameters
Parameters for
TabMacro.- Since:
- 1.24.0
- Version:
- $Id: $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getLabel()intbooleanvoidsetCssClass(String cssClass) voidsetCssStyle(String cssStyle) voidsetEffectDuration(int effectDuration) voidsetEffectType(TransitionEffect effectType) voidvoidvoidsetNextAfter(int nextAfter) voidsetShowByDefault(boolean showByDefault)
-
Field Details
-
PARAM_NAME_DEFAULT
Parameter name default.- See Also:
-
-
Constructor Details
-
TabMacroParameters
public TabMacroParameters()
-
-
Method Details
-
getLabel
- Returns:
- the label of this tab.
-
setLabel
- Parameters:
label- the label of this tab.
-
getId
- Returns:
- the id of the element.
-
setId
- Parameters:
id- the id of the element.
-
isShowByDefault
public boolean isShowByDefault()- Returns:
- define if it's the element to show by default.
-
setShowByDefault
public void setShowByDefault(boolean showByDefault) - Parameters:
showByDefault- define if it's the element to show by default.
-
getCssClass
- Returns:
- the css class for this tab.
-
setCssClass
- Parameters:
cssClass- the css class for this tab.
-
getCssStyle
- Returns:
- custom css rules.
-
setCssStyle
- Parameters:
cssStyle- custom css rules.
-
getNextAfter
public int getNextAfter()- Returns:
- The number of seconds this tab will stay visible before moving to the next one.
-
setNextAfter
public void setNextAfter(int nextAfter) - Parameters:
nextAfter- The number of seconds this tab will stay visible before moving to the next one.
-
getEffectType
- Returns:
- The transition animation for this tab.
-
setEffectType
- Parameters:
effectType- The transition animation for this tab.
-
getEffectDuration
public int getEffectDuration()- Returns:
- The transition animation duration.
-
setEffectDuration
public void setEffectDuration(int effectDuration) - Parameters:
effectDuration- The transition animation duration.
-