Class CSSProperty


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

      Constructors 
      Constructor Description
      CSSProperty​(java.lang.String name, java.lang.String value, java.lang.Boolean important, java.lang.Boolean implicit, java.lang.String text, java.lang.Boolean parsedOk, java.lang.Boolean disabled, SourceRange range)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getDisabled()
      Whether the property is disabled by the user (present for source-based properties only).
      java.lang.Boolean getImplicit()
      Whether the property is implicit (implies `false` if absent).
      java.lang.Boolean getImportant()
      Whether the property has "!important" annotation (implies `false` if absent).
      java.lang.String getName()
      The property name.
      java.lang.Boolean getParsedOk()
      Whether the property is understood by the browser (implies `true` if absent).
      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.
      • Methods inherited from class java.lang.Object

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

      • CSSProperty

        public CSSProperty​(java.lang.String name,
                           java.lang.String value,
                           java.lang.Boolean important,
                           java.lang.Boolean implicit,
                           java.lang.String text,
                           java.lang.Boolean parsedOk,
                           java.lang.Boolean disabled,
                           SourceRange range)
    • Method Detail

      • getName

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

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

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

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

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

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

        public java.lang.Boolean getDisabled()
        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).