public class RuleUsage extends Object
| Constructor and Description |
|---|
RuleUsage() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getEndOffset()
Offset of the end of the rule body from the beginning of the stylesheet.
|
Double |
getStartOffset()
Offset of the start of the rule (including selector) from the beginning of the stylesheet.
|
String |
getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet
rules) this rule came from.
|
Boolean |
getUsed()
Indicates whether the rule was actually used by some element in the page.
|
void |
setEndOffset(Double endOffset)
Offset of the end of the rule body from the beginning of the stylesheet.
|
void |
setStartOffset(Double startOffset)
Offset of the start of the rule (including selector) from the beginning of the stylesheet.
|
void |
setStyleSheetId(String styleSheetId)
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet
rules) this rule came from.
|
void |
setUsed(Boolean used)
Indicates whether the rule was actually used by some element in the page.
|
public String getStyleSheetId()
public void setStyleSheetId(String styleSheetId)
public Double getStartOffset()
public void setStartOffset(Double startOffset)
public Double getEndOffset()
public void setEndOffset(Double endOffset)
public Boolean getUsed()
public void setUsed(Boolean used)
Copyright © 2020. All rights reserved.