-
public final class CSSStyleSheetHeaderCSS stylesheet metainformation.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringstyleSheetIdprivate final StringframeIdprivate final StringsourceURLprivate final StringsourceMapURLprivate final StyleSheetOriginoriginprivate final Stringtitleprivate final IntegerownerNodeprivate final Booleandisabledprivate final BooleanhasSourceURLprivate final BooleanisInlineprivate final BooleanisMutableprivate final BooleanisConstructedprivate final DoublestartLineprivate final DoublestartColumnprivate final Doublelengthprivate final DoubleendLineprivate final DoubleendColumn
-
Constructor Summary
Constructors Constructor Description CSSStyleSheetHeader(String styleSheetId, String frameId, String sourceURL, String sourceMapURL, StyleSheetOrigin origin, String title, Integer ownerNode, Boolean disabled, Boolean hasSourceURL, Boolean isInline, Boolean isMutable, Boolean isConstructed, Double startLine, Double startColumn, Double length, Double endLine, Double endColumn)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Stringcomponent4()final StyleSheetOrigincomponent5()final Stringcomponent6()final Integercomponent7()final Booleancomponent8()final Booleancomponent9()final Booleancomponent10()final Booleancomponent11()final Booleancomponent12()final Doublecomponent13()final Doublecomponent14()final Doublecomponent15()final Doublecomponent16()final Doublecomponent17()final CSSStyleSheetHeadercopy(String styleSheetId, String frameId, String sourceURL, String sourceMapURL, StyleSheetOrigin origin, String title, Integer ownerNode, Boolean disabled, Boolean hasSourceURL, Boolean isInline, Boolean isMutable, Boolean isConstructed, Double startLine, Double startColumn, Double length, Double endLine, Double endColumn)final StringgetStyleSheetId()The stylesheet identifier. final StringgetFrameId()Owner frame identifier. final StringgetSourceURL()Stylesheet resource URL. final StringgetSourceMapURL()URL of source map associated with the stylesheet (if any). final StyleSheetOrigingetOrigin()Stylesheet origin. final StringgetTitle()Stylesheet title. final IntegergetOwnerNode()The backend id for the owner node of the stylesheet. final BooleangetDisabled()Denotes whether the stylesheet is disabled. final BooleangetHasSourceURL()Whether the sourceURL field value comes from the sourceURL comment. final BooleangetIsInline()Whether this stylesheet is created for STYLE tag by parser. final BooleangetIsMutable()Whether this stylesheet is mutable. final BooleangetIsConstructed()Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()). final DoublegetStartLine()Line offset of the stylesheet within the resource (zero based). final DoublegetStartColumn()Column offset of the stylesheet within the resource (zero based). final DoublegetLength()Size of the content (in characters). final DoublegetEndLine()Line offset of the end of the stylesheet within the resource (zero based). final DoublegetEndColumn()Column offset of the end of the stylesheet within the resource (zero based). -
-
Constructor Detail
-
CSSStyleSheetHeader
CSSStyleSheetHeader(String styleSheetId, String frameId, String sourceURL, String sourceMapURL, StyleSheetOrigin origin, String title, Integer ownerNode, Boolean disabled, Boolean hasSourceURL, Boolean isInline, Boolean isMutable, Boolean isConstructed, Double startLine, Double startColumn, Double length, Double endLine, Double endColumn)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final StyleSheetOrigin component5()
-
component6
final String component6()
-
component7
final Integer component7()
-
component8
final Boolean component8()
-
component9
final Boolean component9()
-
component10
final Boolean component10()
-
component11
final Boolean component11()
-
component12
final Boolean component12()
-
component13
final Double component13()
-
component14
final Double component14()
-
component15
final Double component15()
-
component16
final Double component16()
-
component17
final Double component17()
-
copy
final CSSStyleSheetHeader copy(String styleSheetId, String frameId, String sourceURL, String sourceMapURL, StyleSheetOrigin origin, String title, Integer ownerNode, Boolean disabled, Boolean hasSourceURL, Boolean isInline, Boolean isMutable, Boolean isConstructed, Double startLine, Double startColumn, Double length, Double endLine, Double endColumn)
-
getStyleSheetId
final String getStyleSheetId()
The stylesheet identifier.
-
getFrameId
final String getFrameId()
Owner frame identifier.
-
getSourceURL
final String getSourceURL()
Stylesheet resource URL.
-
getSourceMapURL
final String getSourceMapURL()
URL of source map associated with the stylesheet (if any).
-
getOrigin
final StyleSheetOrigin getOrigin()
Stylesheet origin.
-
getOwnerNode
final Integer getOwnerNode()
The backend id for the owner node of the stylesheet.
-
getDisabled
final Boolean getDisabled()
Denotes whether the stylesheet is disabled.
-
getHasSourceURL
final Boolean getHasSourceURL()
Whether the sourceURL field value comes from the sourceURL comment.
-
getIsInline
final Boolean getIsInline()
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
-
getIsMutable
final Boolean getIsMutable()
Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API.
<link> element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
-
getIsConstructed
final Boolean getIsConstructed()
Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).
-
getStartLine
final Double getStartLine()
Line offset of the stylesheet within the resource (zero based).
-
getStartColumn
final Double getStartColumn()
Column offset of the stylesheet within the resource (zero based).
-
getEndLine
final Double getEndLine()
Line offset of the end of the stylesheet within the resource (zero based).
-
getEndColumn
final Double getEndColumn()
Column offset of the end of the stylesheet within the resource (zero based).
-
-
-
-