Class AbstractCssFileBlock
java.lang.Object
com.webfirmframework.wffweb.css.file.AbstractCssFileBlock
- All Implemented Interfaces:
CssFileBlock
,Serializable
,Cloneable
- Direct Known Subclasses:
CssBlock
,InlineCssBlock
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
protected abstract void
load
(Set<CssProperty> cssProperties) protected void
setExcludeCssBlock
(boolean excludeCssBlock) toCssString
(boolean rebuild) toCssStringNoSelector
(boolean rebuild) toString()
-
Constructor Details
-
AbstractCssFileBlock
-
-
Method Details
-
load
-
toString
-
toCssString
- Returns:
- Since:
- 1.0.0
-
toCssString
- Parameters:
rebuild
-- Returns:
- the css string.
- Since:
- 1.0.0
-
toCssStringNoSelector
- Parameters:
rebuild
-- Returns:
- the css string without selector.
- Since:
- 3.0.7
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getCssProperties
- Returns:
- the cssProperties
- Since:
- 1.0.0
-
getSelectors
- Returns:
- the selectors
- Since:
- 1.0.0
-
isExcludeCssBlock
public boolean isExcludeCssBlock()- Returns:
- the excludeCssBlock true if the css block has been excluded, i.e. it will not be contained in the generated css.
-
setExcludeCssBlock
protected void setExcludeCssBlock(boolean excludeCssBlock) - Parameters:
excludeCssBlock
- the excludeCssBlock to set. If it is set to true, then this css block will not be contained in the generated css.
-