Package org.xwiki.icon.macro
Class DisplayIconMacroParameters
- java.lang.Object
-
- org.xwiki.icon.macro.DisplayIconMacroParameters
-
@Unstable public class DisplayIconMacroParameters extends Object
Parameters for theDisplayIconMacroMacro.- Since:
- 14.10.6, 15.2RC1
- Version:
- $Id: 656febccd9b7f2d850e4a129c140422157162c6e $
-
-
Constructor Summary
Constructors Constructor Description DisplayIconMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIconSet()StringgetName()booleanisFallback()voidsetFallback(boolean fallback)voidsetIconSet(String iconSet)voidsetName(String name)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of the icon
-
setName
public void setName(String name)
- Parameters:
name- the name of the icon
-
getIconSet
public String getIconSet()
- Returns:
- the name of the icon theme
-
setIconSet
public void setIconSet(String iconSet)
- Parameters:
iconSet- the name of the icon theme
-
isFallback
public boolean isFallback()
- Returns:
- if the icon shall be loaded from the default icon set when the icon or icon set is not available, true by default
-
setFallback
public void setFallback(boolean fallback)
- Parameters:
fallback- if the icon shall be loaded from the default icon set when the icon or icon set is not available icon set
-
-