Class CSSProperty

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

public class CSSProperty
extends java.lang.Object
CSS property declaration data
  • Constructor Summary

    Constructors 
    Constructor Description
    CSSProperty()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    The property name.
    SourceRange getRange()
    The entire property range in the enclosing style declaration (if available).
    java.lang.String getText()
    The full property text as specified in the style.
    java.lang.String getValue()
    The property value.
    java.lang.Boolean isDisabled()
    Whether the property is disabled by the user (present for source-based properties only).
    java.lang.Boolean isImplicit()
    Whether the property is implicit (implies `false` if absent).
    java.lang.Boolean isImportant()
    Whether the property has "!important" annotation (implies `false` if absent).
    java.lang.Boolean isParsedOk()
    Whether the property is understood by the browser (implies `true` if absent).
    void setDisabled​(java.lang.Boolean disabled)
    Whether the property is disabled by the user (present for source-based properties only).
    void setImplicit​(java.lang.Boolean implicit)
    Whether the property is implicit (implies `false` if absent).
    void setImportant​(java.lang.Boolean important)
    Whether the property has "!important" annotation (implies `false` if absent).
    void setName​(java.lang.String name)
    The property name.
    void setParsedOk​(java.lang.Boolean parsedOk)
    Whether the property is understood by the browser (implies `true` if absent).
    void setRange​(SourceRange range)
    The entire property range in the enclosing style declaration (if available).
    void setText​(java.lang.String text)
    The full property text as specified in the style.
    void setValue​(java.lang.String value)
    The property value.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getName

      public java.lang.String getName()
      The property name.
    • setName

      public void setName​(java.lang.String name)
      The property name.
    • getValue

      public java.lang.String getValue()
      The property value.
    • setValue

      public void setValue​(java.lang.String value)
      The property value.
    • isImportant

      public java.lang.Boolean isImportant()
      Whether the property has "!important" annotation (implies `false` if absent).
    • setImportant

      public void setImportant​(java.lang.Boolean important)
      Whether the property has "!important" annotation (implies `false` if absent).
    • isImplicit

      public java.lang.Boolean isImplicit()
      Whether the property is implicit (implies `false` if absent).
    • setImplicit

      public void setImplicit​(java.lang.Boolean implicit)
      Whether the property is implicit (implies `false` if absent).
    • getText

      public java.lang.String getText()
      The full property text as specified in the style.
    • setText

      public void setText​(java.lang.String text)
      The full property text as specified in the style.
    • isParsedOk

      public java.lang.Boolean isParsedOk()
      Whether the property is understood by the browser (implies `true` if absent).
    • setParsedOk

      public void setParsedOk​(java.lang.Boolean parsedOk)
      Whether the property is understood by the browser (implies `true` if absent).
    • isDisabled

      public java.lang.Boolean isDisabled()
      Whether the property is disabled by the user (present for source-based properties only).
    • setDisabled

      public void setDisabled​(java.lang.Boolean disabled)
      Whether the property is disabled by the user (present for source-based properties only).
    • getRange

      public SourceRange getRange()
      The entire property range in the enclosing style declaration (if available).
    • setRange

      public void setRange​(SourceRange range)
      The entire property range in the enclosing style declaration (if available).