Package com.xwiki.macros.status.macro
Class StatusMacroParameters
- java.lang.Object
-
- com.xwiki.macros.status.macro.StatusMacroParameters
-
public class StatusMacroParameters extends Object
Parameter bean class forStatusMacro.- Since:
- 1.31.1
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description StatusMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColour()The color of the status.StringgetTitle()The text of the status.booleanisSubtle()The aspect of the status: either white text on dark color background (false) or dark color text on light color background (true).voidsetColour(String colour)SeegetColour().voidsetSubtle(boolean subtle)SeeisSubtle().voidsetTitle(String title)SeegetTitle().
-
-
-
Method Detail
-
isSubtle
public boolean isSubtle()
The aspect of the status: either white text on dark color background (false) or dark color text on light color background (true). Default value isfalse.- Returns:
trueif the status is subtle,falseotherwise
-
setSubtle
public void setSubtle(boolean subtle)
SeeisSubtle().- Parameters:
subtle- the aspect of the status.
-
getColour
public String getColour()
The color of the status. The default value is "Grey".- Returns:
- The color of the status.
-
setColour
public void setColour(String colour)
SeegetColour().- Parameters:
colour- the color of the status.
-
getTitle
public String getTitle()
The text of the status.- Returns:
- The text of the status.
-
setTitle
public void setTitle(String title)
SeegetTitle().- Parameters:
title- the text of the status.
-
-