Package Torello.Browser.BrowserAPI
Class CSS.getMatchedStylesForNode$$RET
- java.lang.Object
-
- Torello.Browser.BaseType<CSS.getMatchedStylesForNode$$RET>
-
- Torello.Browser.BrowserAPI.CSS.getMatchedStylesForNode$$RET
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- CSS
public static class CSS.getMatchedStylesForNode$$RET extends BaseType<CSS.getMatchedStylesForNode$$RET> implements java.io.Serializable
This Nested Java Class was written in order to incorporate the litany of all return-values from the browser command getMatchedStylesForNode. This command is defined in theCSSdomain, which is located in theBrowserAPI.
📌 All browser commands having a dedicated return type nested class will have a name which begins with a lower case letter, and ends with the string'$$RET'.
⚠️ Browser return types are only created for commands in which 2 or more values are returned by a CDP command.Returns requested styles for a DOM node identified bynodeId.- See Also:
CSS.getMatchedStylesForNode(int), Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/CSS.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/CSS.java
File Size: 6,418 Bytes Line Count: 146 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: CSS$$getMatchedStylesForNode$$RET.java
- Open New Browser-Tab: CSS$$getMatchedStylesForNode$$RET.java
File Size: 22,488 Bytes Line Count: 498 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description IntegeractivePositionFallbackIndexIndex of the active fallback in the applied position-try-fallback property, will not be set if there is no active position-try fallback.CSS.CSSStyleattributesStyleAttribute-defined element style (e.g.CSS.CSSFontPaletteValuesRulecssFontPaletteValuesRuleA font-palette-values rule matching this node.CSS.CSSFunctionRule[]cssFunctionRulesA list of CSS at-function rules referenced by styles of this node.CSS.CSSKeyframesRule[]cssKeyframesRulesA list of CSS keyframed animations matching this node.CSS.CSSPositionTryRule[]cssPositionTryRulesA list of CSS @position-try rules matching this node, based on the position-try-fallbacks property.CSS.CSSPropertyRegistration[]cssPropertyRegistrationsA list of CSS property registrations matching this node.CSS.CSSPropertyRule[]cssPropertyRulesA list of CSS at-property rules matching this node.CSS.InheritedStyleEntry[]inheritedA chain of inherited styles (from the immediate node parent up to the DOM tree root).CSS.InheritedPseudoElementMatches[]inheritedPseudoElementsA chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).CSS.CSSStyleinlineStyleInline style for the specified DOM node.CSS.RuleMatch[]matchedCSSRulesCSS rules matching this node, from all applicable stylesheets.IntegerparentLayoutNodeIdId of the first parent element that does not have display: contents.CSS.PseudoElementMatches[]pseudoElementsPseudo style matches for this node.
-
Constructor Summary
Constructors Constructor Description getMatchedStylesForNode$$RET(ReadOnlyList<Boolean> isPresent, CSS.CSSStyle inlineStyle, CSS.CSSStyle attributesStyle, CSS.RuleMatch[] matchedCSSRules, CSS.PseudoElementMatches[] pseudoElements, CSS.InheritedStyleEntry[] inherited, CSS.InheritedPseudoElementMatches[] inheritedPseudoElements, CSS.CSSKeyframesRule[] cssKeyframesRules, CSS.CSSPositionTryRule[] cssPositionTryRules, Integer activePositionFallbackIndex, CSS.CSSPropertyRule[] cssPropertyRules, CSS.CSSPropertyRegistration[] cssPropertyRegistrations, CSS.CSSFontPaletteValuesRule cssFontPaletteValuesRule, Integer parentLayoutNodeId, CSS.CSSFunctionRule[] cssFunctionRules)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static CSS.getMatchedStylesForNode$$RETfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<CSS.getMatchedStylesForNode$$RET>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
inlineStyle
public final CSS.CSSStyle inlineStyle
Inline style for the specified DOM node.
OPTIONAL
-
attributesStyle
public final CSS.CSSStyle attributesStyle
Attribute-defined element style (e.g. resulting from "width=20 height=100%").
OPTIONAL
-
matchedCSSRules
public final CSS.RuleMatch[] matchedCSSRules
CSS rules matching this node, from all applicable stylesheets.
OPTIONAL
-
pseudoElements
public final CSS.PseudoElementMatches[] pseudoElements
Pseudo style matches for this node.
OPTIONAL
-
inherited
public final CSS.InheritedStyleEntry[] inherited
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
OPTIONAL
-
inheritedPseudoElements
public final CSS.InheritedPseudoElementMatches[] inheritedPseudoElements
A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).
OPTIONAL
-
cssKeyframesRules
public final CSS.CSSKeyframesRule[] cssKeyframesRules
A list of CSS keyframed animations matching this node.
OPTIONAL
-
cssPositionTryRules
public final CSS.CSSPositionTryRule[] cssPositionTryRules
A list of CSS @position-try rules matching this node, based on the position-try-fallbacks property.
OPTIONAL
-
activePositionFallbackIndex
public final java.lang.Integer activePositionFallbackIndex
Index of the active fallback in the applied position-try-fallback property, will not be set if there is no active position-try fallback.
OPTIONAL
-
cssPropertyRules
public final CSS.CSSPropertyRule[] cssPropertyRules
A list of CSS at-property rules matching this node.
OPTIONAL
-
cssPropertyRegistrations
public final CSS.CSSPropertyRegistration[] cssPropertyRegistrations
A list of CSS property registrations matching this node.
OPTIONAL
-
cssFontPaletteValuesRule
public final CSS.CSSFontPaletteValuesRule cssFontPaletteValuesRule
A font-palette-values rule matching this node.
OPTIONAL
-
parentLayoutNodeId
public final java.lang.Integer parentLayoutNodeId
Id of the first parent element that does not have display: contents.
OPTIONALEXPERIMENTAL
-
cssFunctionRules
public final CSS.CSSFunctionRule[] cssFunctionRules
A list of CSS at-function rules referenced by styles of this node.
OPTIONALEXPERIMENTAL
-
-
Constructor Detail
-
getMatchedStylesForNode$$RET
public getMatchedStylesForNode$$RET (ReadOnlyList<java.lang.Boolean> isPresent, CSS.CSSStyle inlineStyle, CSS.CSSStyle attributesStyle, CSS.RuleMatch[] matchedCSSRules, CSS.PseudoElementMatches[] pseudoElements, CSS.InheritedStyleEntry[] inherited, CSS.InheritedPseudoElementMatches[] inheritedPseudoElements, CSS.CSSKeyframesRule[] cssKeyframesRules, CSS.CSSPositionTryRule[] cssPositionTryRules, java.lang.Integer activePositionFallbackIndex, CSS.CSSPropertyRule[] cssPropertyRules, CSS.CSSPropertyRegistration[] cssPropertyRegistrations, CSS.CSSFontPaletteValuesRule cssFontPaletteValuesRule, java.lang.Integer parentLayoutNodeId, CSS.CSSFunctionRule[] cssFunctionRules)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static CSS.getMatchedStylesForNode$$RET fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<CSS.getMatchedStylesForNode$$RET> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-