Class BsComponent
- java.lang.Object
-
- org.devacfr.maven.skins.reflow.model.Component
-
- org.devacfr.maven.skins.reflow.model.BsComponent
-
-
Constructor Summary
Constructors Constructor Description BsComponent(ISkinConfig config, String component)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackground()StringgetCssClass()StringgetTheme()protected voidsetBackground(String background)protected voidsetTheme(String theme)-
Methods inherited from class org.devacfr.maven.skins.reflow.model.Component
addChildren, addCssOptions, getCssOptions, onPreRender, setCssClass
-
-
-
-
Constructor Detail
-
BsComponent
public BsComponent(@Nonnull ISkinConfig config, String component)
Default constructor.- Parameters:
config- a config (can not benull).component- the bootstrap component name.
-
-
Method Detail
-
getCssClass
@Nonnull public String getCssClass()
- Overrides:
getCssClassin classComponent- Returns:
- Returns a
Stringrepresenting the css classes to apply to component.
-
getTheme
public String getTheme()
- Returns:
- Returns a
Stringrepresenting the bootstrap theme to apply.
-
setTheme
protected void setTheme(@Nullable String theme)
- Parameters:
theme- a bootstrap theme to use.
-
getBackground
public String getBackground()
- Returns:
- Returns a
Stringrepresenting the bootstrap background color to apply.
-
-