-
public final class AddRuleRequestRequest object containing input parameters for the CSSDomain.addRule command.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringstyleSheetIdprivate final StringruleTextprivate final SourceRangelocation
-
Constructor Summary
Constructors Constructor Description AddRuleRequest(String styleSheetId, String ruleText, SourceRange location)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final SourceRangecomponent3()final AddRuleRequestcopy(String styleSheetId, String ruleText, SourceRange location)final StringgetStyleSheetId()The css style sheet identifier where a new rule should be inserted. final StringgetRuleText()The text of a new rule. final SourceRangegetLocation()Text position of a new rule in the target style sheet. -
-
Constructor Detail
-
AddRuleRequest
AddRuleRequest(String styleSheetId, String ruleText, SourceRange location)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final SourceRange component3()
-
copy
final AddRuleRequest copy(String styleSheetId, String ruleText, SourceRange location)
-
getStyleSheetId
final String getStyleSheetId()
The css style sheet identifier where a new rule should be inserted.
-
getRuleText
final String getRuleText()
The text of a new rule.
-
getLocation
final SourceRange getLocation()
Text position of a new rule in the target style sheet.
-
-
-
-