Class HighlightConfig
- java.lang.Object
-
- org.openqa.selenium.devtools.overlay.model.HighlightConfig
-
public class HighlightConfig extends java.lang.ObjectConfiguration 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 RGBAgetBorderColor()The border highlight fill color (default: transparent).RGBAgetContentColor()The content box highlight fill color (default: transparent).RGBAgetCssGridColor()The grid layout color (default: transparent).RGBAgetEventTargetColor()The event target element highlight fill color (default: transparent).RGBAgetMarginColor()The margin highlight fill color (default: transparent).RGBAgetPaddingColor()The padding highlight fill color (default: transparent).RGBAgetShapeColor()The shape outside fill color (default: transparent).RGBAgetShapeMarginColor()The shape margin fill color (default: transparent).java.lang.BooleangetShowExtensionLines()Whether the extension lines from node to the rulers should be shown (default: false).java.lang.BooleangetShowInfo()Whether the node info tooltip should be shown (default: false).java.lang.BooleangetShowRulers()Whether the rulers should be shown (default: false).java.lang.BooleangetShowStyles()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).
-
-