Class TabMacroParameters

java.lang.Object
com.xwiki.macros.tab.macro.TabMacroParameters

public class TabMacroParameters extends Object
Parameters for TabMacro.
Since:
1.24.0
Version:
$Id: $
  • Field Details

  • Constructor Details

    • TabMacroParameters

      public TabMacroParameters()
  • Method Details

    • getLabel

      public String getLabel()
      Returns:
      the label of this tab.
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label of this tab.
    • getId

      public String getId()
      Returns:
      the id of the element.
    • setId

      public void setId(String id)
      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

      public String getCssClass()
      Returns:
      the css class for this tab.
    • setCssClass

      public void setCssClass(String cssClass)
      Parameters:
      cssClass - the css class for this tab.
    • getCssStyle

      public String getCssStyle()
      Returns:
      custom css rules.
    • setCssStyle

      public void setCssStyle(String cssStyle)
      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

      public TransitionEffect getEffectType()
      Returns:
      The transition animation for this tab.
    • setEffectType

      public void setEffectType(TransitionEffect effectType)
      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.