public class CSSStyle extends Object
| Constructor and Description |
|---|
CSSStyle() |
| Modifier and Type | Method and Description |
|---|---|
List<CSSProperty> |
getCssProperties()
CSS properties in the style.
|
String |
getCssText()
Style declaration text (if available).
|
SourceRange |
getRange()
Style declaration range in the enclosing stylesheet (if available).
|
List<ShorthandEntry> |
getShorthandEntries()
Computed values for all shorthands found in the style.
|
String |
getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet
rules) this rule came from.
|
void |
setCssProperties(List<CSSProperty> cssProperties)
CSS properties in the style.
|
void |
setCssText(String cssText)
Style declaration text (if available).
|
void |
setRange(SourceRange range)
Style declaration range in the enclosing stylesheet (if available).
|
void |
setShorthandEntries(List<ShorthandEntry> shorthandEntries)
Computed values for all shorthands found in the style.
|
void |
setStyleSheetId(String styleSheetId)
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet
rules) this rule came from.
|
public String getStyleSheetId()
public void setStyleSheetId(String styleSheetId)
public List<CSSProperty> getCssProperties()
public void setCssProperties(List<CSSProperty> cssProperties)
public List<ShorthandEntry> getShorthandEntries()
public void setShorthandEntries(List<ShorthandEntry> shorthandEntries)
public String getCssText()
public void setCssText(String cssText)
public SourceRange getRange()
public void setRange(SourceRange range)
Copyright © 2020. All rights reserved.