Package io.webfolder.cdp.type.css
Class CSSProperty
java.lang.Object
io.webfolder.cdp.type.css.CSSProperty
CSS property declaration data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParsed longhand components of this property if it is a shorthand.getName()
The property name.getRange()
The entire property range in the enclosing style declaration (if available).getText()
The full property text as specified in the style.getValue()
The property value.Whether the property is disabled by the user (present for source-based properties only).Whether the property is implicit (implies false if absent).Whether the property has "!important" annotation (implies false if absent).Whether the property is understood by the browser (implies true if absent).void
setDisabled
(Boolean disabled) Whether the property is disabled by the user (present for source-based properties only).void
setImplicit
(Boolean implicit) Whether the property is implicit (implies false if absent).void
setImportant
(Boolean important) Whether the property has "!important" annotation (implies false if absent).void
setLonghandProperties
(List<CSSProperty> longhandProperties) Parsed longhand components of this property if it is a shorthand.void
The property name.void
setParsedOk
(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
The full property text as specified in the style.void
The property value.toString()
-
Constructor Details
-
CSSProperty
public CSSProperty()
-
-
Method Details
-
getName
The property name. -
setName
The property name. -
getValue
The property value. -
setValue
The property value. -
isImportant
Whether the property has "!important" annotation (implies false if absent). -
setImportant
Whether the property has "!important" annotation (implies false if absent). -
isImplicit
Whether the property is implicit (implies false if absent). -
setImplicit
Whether the property is implicit (implies false if absent). -
getText
The full property text as specified in the style. -
setText
The full property text as specified in the style. -
isParsedOk
Whether the property is understood by the browser (implies true if absent). -
setParsedOk
Whether the property is understood by the browser (implies true if absent). -
isDisabled
Whether the property is disabled by the user (present for source-based properties only). -
setDisabled
Whether the property is disabled by the user (present for source-based properties only). -
getRange
The entire property range in the enclosing style declaration (if available). -
setRange
The entire property range in the enclosing style declaration (if available). -
getLonghandProperties
Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand. -
setLonghandProperties
Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand. -
toString
-