Class HighlightConfig
- java.lang.Object
-
- org.openqa.selenium.devtools.overlay.model.HighlightConfig
-
public class HighlightConfig extends java.lang.Object
Configuration data for the highlighting of page elements.
-
-
Constructor Summary
Constructors Constructor Description HighlightConfig(java.lang.Boolean showInfo, java.lang.Boolean showStyles, java.lang.Boolean showRulers, java.lang.Boolean showExtensionLines, RGBA contentColor, RGBA paddingColor, RGBA borderColor, RGBA marginColor, RGBA eventTargetColor, RGBA shapeColor, RGBA shapeMarginColor, RGBA cssGridColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RGBA
getBorderColor()
The border highlight fill color (default: transparent).RGBA
getContentColor()
The content box highlight fill color (default: transparent).RGBA
getCssGridColor()
The grid layout color (default: transparent).RGBA
getEventTargetColor()
The event target element highlight fill color (default: transparent).RGBA
getMarginColor()
The margin highlight fill color (default: transparent).RGBA
getPaddingColor()
The padding highlight fill color (default: transparent).RGBA
getShapeColor()
The shape outside fill color (default: transparent).RGBA
getShapeMarginColor()
The shape margin fill color (default: transparent).java.lang.Boolean
getShowExtensionLines()
Whether the extension lines from node to the rulers should be shown (default: false).java.lang.Boolean
getShowInfo()
Whether the node info tooltip should be shown (default: false).java.lang.Boolean
getShowRulers()
Whether the rulers should be shown (default: false).java.lang.Boolean
getShowStyles()
Whether the node styles in the tooltip (default: false).
-
-
-
Constructor Detail
-
HighlightConfig
public HighlightConfig(java.lang.Boolean showInfo, java.lang.Boolean showStyles, java.lang.Boolean showRulers, java.lang.Boolean showExtensionLines, RGBA contentColor, RGBA paddingColor, RGBA borderColor, RGBA marginColor, RGBA eventTargetColor, RGBA shapeColor, RGBA shapeMarginColor, RGBA cssGridColor)
-
-
Method Detail
-
getShowInfo
public java.lang.Boolean getShowInfo()
Whether the node info tooltip should be shown (default: false).
-
getShowStyles
public java.lang.Boolean getShowStyles()
Whether the node styles in the tooltip (default: false).
-
getShowRulers
public java.lang.Boolean getShowRulers()
Whether the rulers should be shown (default: false).
-
getShowExtensionLines
public java.lang.Boolean getShowExtensionLines()
Whether the extension lines from node to the rulers should be shown (default: false).
-
getContentColor
public RGBA getContentColor()
The content box highlight fill color (default: transparent).
-
getPaddingColor
public RGBA getPaddingColor()
The padding highlight fill color (default: transparent).
-
getBorderColor
public RGBA getBorderColor()
The border highlight fill color (default: transparent).
-
getMarginColor
public RGBA getMarginColor()
The margin highlight fill color (default: transparent).
-
getEventTargetColor
public RGBA getEventTargetColor()
The event target element highlight fill color (default: transparent).
-
getShapeColor
public RGBA getShapeColor()
The shape outside fill color (default: transparent).
-
getShapeMarginColor
public RGBA getShapeMarginColor()
The shape margin fill color (default: transparent).
-
getCssGridColor
public RGBA getCssGridColor()
The grid layout color (default: transparent).
-
-