Class GalleryMacroParameters
- java.lang.Object
-
- org.xwiki.rendering.macro.gallery.GalleryMacroParameters
-
public class GalleryMacroParameters extends Object
Parameters for theGalleryMacro.- Since:
- 8.3RC1
- Version:
- $Id: 8f56eb6e3c558943f89a66d5599be6ac86c1f5c8 $
-
-
Constructor Summary
Constructors Constructor Description GalleryMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassNames()StringgetHeight()StringgetWidth()voidsetClassNames(String classNames)Sets some custom CSS class names.voidsetHeight(String height)Sets the gallery height.voidsetWidth(String width)Sets the gallery width.
-
-
-
Method Detail
-
getWidth
public String getWidth()
- Returns:
- the gallery width
-
setWidth
public void setWidth(String width)
Sets the gallery width.- Parameters:
width- the gallery width
-
getHeight
public String getHeight()
- Returns:
- the gallery height
-
setHeight
public void setHeight(String height)
Sets the gallery height.- Parameters:
height- the gallery height
-
getClassNames
public String getClassNames()
- Returns:
- the CSS class names
-
setClassNames
public void setClassNames(String classNames)
Sets some custom CSS class names.- Parameters:
classNames- the custom CSS class names
-
-