Class CSSStyle

java.lang.Object
io.webfolder.cdp.type.css.CSSStyle

public class CSSStyle
extends java.lang.Object
CSS style representation
  • Constructor Summary

    Constructors 
    Constructor Description
    CSSStyle()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<CSSProperty> getCssProperties()
    CSS properties in the style.
    java.lang.String getCssText()
    Style declaration text (if available).
    SourceRange getRange()
    Style declaration range in the enclosing stylesheet (if available).
    java.util.List<ShorthandEntry> getShorthandEntries()
    Computed values for all shorthands found in the style.
    java.lang.String getStyleSheetId()
    The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
    void setCssProperties​(java.util.List<CSSProperty> cssProperties)
    CSS properties in the style.
    void setCssText​(java.lang.String cssText)
    Style declaration text (if available).
    void setRange​(SourceRange range)
    Style declaration range in the enclosing stylesheet (if available).
    void setShorthandEntries​(java.util.List<ShorthandEntry> shorthandEntries)
    Computed values for all shorthands found in the style.
    void setStyleSheetId​(java.lang.String styleSheetId)
    The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getStyleSheetId

      public java.lang.String getStyleSheetId()
      The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
    • setStyleSheetId

      public void setStyleSheetId​(java.lang.String styleSheetId)
      The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
    • getCssProperties

      public java.util.List<CSSProperty> getCssProperties()
      CSS properties in the style.
    • setCssProperties

      public void setCssProperties​(java.util.List<CSSProperty> cssProperties)
      CSS properties in the style.
    • getShorthandEntries

      public java.util.List<ShorthandEntry> getShorthandEntries()
      Computed values for all shorthands found in the style.
    • setShorthandEntries

      public void setShorthandEntries​(java.util.List<ShorthandEntry> shorthandEntries)
      Computed values for all shorthands found in the style.
    • getCssText

      public java.lang.String getCssText()
      Style declaration text (if available).
    • setCssText

      public void setCssText​(java.lang.String cssText)
      Style declaration text (if available).
    • getRange

      public SourceRange getRange()
      Style declaration range in the enclosing stylesheet (if available).
    • setRange

      public void setRange​(SourceRange range)
      Style declaration range in the enclosing stylesheet (if available).