org.xwiki.rendering.macro.container
Class ContainerMacroParameters
java.lang.Object
org.xwiki.rendering.macro.container.ContainerMacroParameters
public class ContainerMacroParameters
- extends Object
Parameters of the container macro, specifying the layout of the container, for the moment. To be completed with other
properties for the container.
- Since:
- 2.5M2
- Version:
- $Id: 02190fcfdfbad3e63b88422ae9603712e6c75f4d $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerMacroParameters
public ContainerMacroParameters()
getLayoutStyle
public String getLayoutStyle()
- Returns:
- the string identifying the layout style for this container.
setLayoutStyle
public void setLayoutStyle(String layoutStyle)
- Sets the layout style of this container.
- Parameters:
layoutStyle - the style to set, e.g. columns
isJustify
public boolean isJustify()
- Returns:
true whether the content in this container is justified, false otherwise
setJustify
public void setJustify(boolean justify)
- Set if the content in this container is justified.
- Parameters:
justify - true whether the content in this container is aligned "justify", false otherwise
getCssClass
public String getCssClass()
- Returns:
- the CSS class to add to this container
- Since:
- 3.0M1
setCssClass
public void setCssClass(String cssClass)
- Parameters:
cssClass - the value of the class attribute to set for CSS styling- Since:
- 3.0M1
Copyright © 2004-2012 XWiki. All Rights Reserved.