Package com.xwiki.macros.status.macro
Class StatusMacroParameters
java.lang.Object
com.xwiki.macros.status.macro.StatusMacroParameters
Parameter bean class for
StatusMacro.- Since:
- 1.31.1
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe color of the status.getTitle()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).voidSeegetColour().voidsetSubtle(boolean subtle) SeeisSubtle().voidSeegetTitle().
-
Constructor Details
-
StatusMacroParameters
public StatusMacroParameters()
-
-
Method Details
-
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
The color of the status. The default value is "Grey".- Returns:
- The color of the status.
-
setColour
SeegetColour().- Parameters:
colour- the color of the status.
-
getTitle
The text of the status.- Returns:
- The text of the status.
-
setTitle
SeegetTitle().- Parameters:
title- the text of the status.
-