Constructor and Description |
---|
BsComponent(String component)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBackground() |
String |
getCssClass() |
String |
getTheme() |
protected void |
setBackground(String background) |
protected void |
setTheme(String theme) |
addChildren, addCssOptions, getBodyContent, getCssOptions, getHtmlTool, onPreRender, setCssClass
public BsComponent(String component)
component
- the bootstrap component name.@Nonnull public String getCssClass()
getCssClass
in class Component
String
representing the css classes to apply to component.public String getTheme()
String
representing the bootstrap theme to apply.protected void setTheme(@Nullable String theme)
theme
- a bootstrap theme to use.public String getBackground()
String
representing the bootstrap background color to apply.Copyright © 2012–2023 Friederich Christophe. All rights reserved.