Class InlineCssBlock
java.lang.Object
com.webfirmframework.wffweb.css.file.AbstractCssFileBlock
com.webfirmframework.wffweb.css.file.InlineCssBlock
- All Implemented Interfaces:
CssFileBlock
,Serializable
,Cloneable
Use
InlineCssBlock#load(String, Consumer)
method to create instance.
It returns a new object every time. of this class.- Since:
- 3.0.8
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic InlineCssBlock
load
(String selectors, Consumer<Set<CssProperty>> consumer) protected void
load
(Set<CssProperty> cssProperties) setExclude
(boolean excludeCssBlock) Internally calls setExcludeCssBlock method and returns the current instance.Methods inherited from class com.webfirmframework.wffweb.css.file.AbstractCssFileBlock
clone, getCssProperties, getSelectors, isExcludeCssBlock, setExcludeCssBlock, toCssString, toCssString, toCssStringNoSelector, toString
-
Method Details
-
setExclude
Internally calls setExcludeCssBlock method and returns the current instance.- Parameters:
excludeCssBlock
- true or false- Returns:
- the current instance
- Since:
- 3.0.8
-
load
- Specified by:
load
in classAbstractCssFileBlock
-
load
- Parameters:
selectors
-consumer
-- Returns:
- a new instance of InlineCssBlock with the applied properties.
- Since:
- 3.0.8
-