public class CSSProperty extends Object
| Constructor and Description |
|---|
CSSProperty() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDisabled()
Whether the property is disabled by the user (present for source-based properties only).
|
Boolean |
getImplicit()
Whether the property is implicit (implies `false` if absent).
|
Boolean |
getImportant()
Whether the property has "!important" annotation (implies `false` if absent).
|
String |
getName()
The property name.
|
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).
|
String |
getText()
The full property text as specified in the style.
|
String |
getValue()
The property value.
|
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 |
setName(String name)
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 |
setText(String text)
The full property text as specified in the style.
|
void |
setValue(String value)
The property value.
|
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public Boolean getImportant()
public void setImportant(Boolean important)
public Boolean getImplicit()
public void setImplicit(Boolean implicit)
public String getText()
public void setText(String text)
public Boolean getParsedOk()
public void setParsedOk(Boolean parsedOk)
public Boolean getDisabled()
public void setDisabled(Boolean disabled)
public SourceRange getRange()
public void setRange(SourceRange range)
Copyright © 2020. All rights reserved.