Class InlineCssBlock

java.lang.Object
com.webfirmframework.wffweb.css.file.AbstractCssFileBlock
com.webfirmframework.wffweb.css.file.InlineCssBlock
All Implemented Interfaces:
CssFileBlock, Serializable, Cloneable

public final class InlineCssBlock extends AbstractCssFileBlock
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 Details

    • setExclude

      public InlineCssBlock setExclude(boolean excludeCssBlock)
      Internally calls setExcludeCssBlock method and returns the current instance.
      Parameters:
      excludeCssBlock - true or false
      Returns:
      the current instance
      Since:
      3.0.8
    • load

      protected void load(Set<CssProperty> cssProperties)
      Specified by:
      load in class AbstractCssFileBlock
    • load

      public static InlineCssBlock load(String selectors, Consumer<Set<CssProperty>> consumer)
      Parameters:
      selectors -
      consumer -
      Returns:
      a new instance of InlineCssBlock with the applied properties.
      Since:
      3.0.8