Class Header
- java.lang.Object
-
- org.devacfr.maven.skins.reflow.model.Component
-
- org.devacfr.maven.skins.reflow.model.BsComponent
-
- org.devacfr.maven.skins.reflow.model.Header
-
public class Header extends BsComponent
Represents the header component.- Since:
- 2.2
- Author:
- devacfr
-
-
Constructor Summary
Constructors Constructor Description Header(ISkinConfig config)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()StringgetType()Gets the type of header.booleanisEnabled()Gets the indicating whether the header is displayed.-
Methods inherited from class org.devacfr.maven.skins.reflow.model.BsComponent
getBackground, getCssClass, getTheme, setBackground, setTheme
-
Methods inherited from class org.devacfr.maven.skins.reflow.model.Component
addChildren, addCssOptions, getCssOptions, onPreRender, setCssClass
-
-
-
-
Constructor Detail
-
Header
public Header(@Nonnull ISkinConfig config)
Default constructor.- Parameters:
config- a config (can not benull).
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Gets the indicating whether the header is displayed.- Returns:
- Returns
truewhether the header is displayed, otherwisefalse.
-
getType
public String getType()
Gets the type of header.- Returns:
- Returns a String representing the type of header.
-
getContent
public String getContent()
- Returns:
- the content
-
-