Package Torello.Browser.BrowserAPI
Class LayerTree.StickyPositionConstraint
- java.lang.Object
-
- Torello.Browser.BaseType<LayerTree.StickyPositionConstraint>
-
- Torello.Browser.BrowserAPI.LayerTree.StickyPositionConstraint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- LayerTree
public static class LayerTree.StickyPositionConstraint extends BaseType<LayerTree.StickyPositionConstraint> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theLayerTreedomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Sticky position constraints.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/LayerTree.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/LayerTree.java
File Size: 2,723 Bytes Line Count: 62 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: LayerTree$$StickyPositionConstraint$$.java
- Open New Browser-Tab: LayerTree$$StickyPositionConstraint$$.java
File Size: 10,178 Bytes Line Count: 229 '\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 DOM.RectcontainingBlockRectLayout rectangle of the containing block of the sticky elementStringnearestLayerShiftingContainingBlockThe nearest sticky layer that shifts the containing blockStringnearestLayerShiftingStickyBoxThe nearest sticky layer that shifts the sticky boxDOM.RectstickyBoxRectLayout rectangle of the sticky element before being shifted
-
Constructor Summary
Constructors Constructor Description StickyPositionConstraint(ReadOnlyList<Boolean> isPresent, DOM.Rect stickyBoxRect, DOM.Rect containingBlockRect, String nearestLayerShiftingStickyBox, String nearestLayerShiftingContainingBlock)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static LayerTree.StickyPositionConstraintfromJSON(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<LayerTree.StickyPositionConstraint>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
-
stickyBoxRect
public final DOM.Rect stickyBoxRect
Layout rectangle of the sticky element before being shifted
-
containingBlockRect
public final DOM.Rect containingBlockRect
Layout rectangle of the containing block of the sticky element
-
nearestLayerShiftingStickyBox
public final java.lang.String nearestLayerShiftingStickyBox
The nearest sticky layer that shifts the sticky box
OPTIONAL
-
nearestLayerShiftingContainingBlock
public final java.lang.String nearestLayerShiftingContainingBlock
The nearest sticky layer that shifts the containing block
OPTIONAL
-
-
Constructor Detail
-
StickyPositionConstraint
public StickyPositionConstraint (ReadOnlyList<java.lang.Boolean> isPresent, DOM.Rect stickyBoxRect, DOM.Rect containingBlockRect, java.lang.String nearestLayerShiftingStickyBox, java.lang.String nearestLayerShiftingContainingBlock)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static LayerTree.StickyPositionConstraint fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<LayerTree.StickyPositionConstraint> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-