Package io.webfolder.cdp.type.overlay
Class HighlightConfig
java.lang.Object
io.webfolder.cdp.type.overlay.HighlightConfig
Configuration data for the highlighting of page elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe border highlight fill color (default: transparent).The color format used to format color styles (default: hex).The container query container highlight configuration (default: all transparent).The content box highlight fill color (default: transparent).The contrast algorithm to use for the contrast ratio (default: aa).The grid layout color (default: transparent).The event target element highlight fill color (default: transparent).The flex container highlight configuration (default: all transparent).The flex item highlight configuration (default: all transparent).The grid layout highlight configuration (default: all transparent).The margin highlight fill color (default: transparent).The padding highlight fill color (default: transparent).The shape outside fill color (default: transparent).The shape margin fill color (default: transparent).Whether the a11y info should be shown (default: true).Whether the extension lines from node to the rulers should be shown (default: false).Whether the node info tooltip should be shown (default: false).Whether the rulers should be shown (default: false).Whether the node styles in the tooltip (default: false).void
setBorderColor
(RGBA borderColor) The border highlight fill color (default: transparent).void
setColorFormat
(ColorFormat colorFormat) The color format used to format color styles (default: hex).void
setContainerQueryContainerHighlightConfig
(ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig) The container query container highlight configuration (default: all transparent).void
setContentColor
(RGBA contentColor) The content box highlight fill color (default: transparent).void
setContrastAlgorithm
(ContrastAlgorithm contrastAlgorithm) The contrast algorithm to use for the contrast ratio (default: aa).void
setCssGridColor
(RGBA cssGridColor) The grid layout color (default: transparent).void
setEventTargetColor
(RGBA eventTargetColor) The event target element highlight fill color (default: transparent).void
setFlexContainerHighlightConfig
(FlexContainerHighlightConfig flexContainerHighlightConfig) The flex container highlight configuration (default: all transparent).void
setFlexItemHighlightConfig
(FlexItemHighlightConfig flexItemHighlightConfig) The flex item highlight configuration (default: all transparent).void
setGridHighlightConfig
(GridHighlightConfig gridHighlightConfig) The grid layout highlight configuration (default: all transparent).void
setMarginColor
(RGBA marginColor) The margin highlight fill color (default: transparent).void
setPaddingColor
(RGBA paddingColor) The padding highlight fill color (default: transparent).void
setShapeColor
(RGBA shapeColor) The shape outside fill color (default: transparent).void
setShapeMarginColor
(RGBA shapeMarginColor) The shape margin fill color (default: transparent).void
setShowAccessibilityInfo
(Boolean showAccessibilityInfo) Whether the a11y info should be shown (default: true).void
setShowExtensionLines
(Boolean showExtensionLines) Whether the extension lines from node to the rulers should be shown (default: false).void
setShowInfo
(Boolean showInfo) Whether the node info tooltip should be shown (default: false).void
setShowRulers
(Boolean showRulers) Whether the rulers should be shown (default: false).void
setShowStyles
(Boolean showStyles) Whether the node styles in the tooltip (default: false).toString()
-
Constructor Details
-
HighlightConfig
public HighlightConfig()
-
-
Method Details
-
isShowInfo
Whether the node info tooltip should be shown (default: false). -
setShowInfo
Whether the node info tooltip should be shown (default: false). -
isShowStyles
Whether the node styles in the tooltip (default: false). -
setShowStyles
Whether the node styles in the tooltip (default: false). -
isShowRulers
Whether the rulers should be shown (default: false). -
setShowRulers
Whether the rulers should be shown (default: false). -
isShowAccessibilityInfo
Whether the a11y info should be shown (default: true). -
setShowAccessibilityInfo
Whether the a11y info should be shown (default: true). -
isShowExtensionLines
Whether the extension lines from node to the rulers should be shown (default: false). -
setShowExtensionLines
Whether the extension lines from node to the rulers should be shown (default: false). -
getContentColor
The content box highlight fill color (default: transparent). -
setContentColor
The content box highlight fill color (default: transparent). -
getPaddingColor
The padding highlight fill color (default: transparent). -
setPaddingColor
The padding highlight fill color (default: transparent). -
getBorderColor
The border highlight fill color (default: transparent). -
setBorderColor
The border highlight fill color (default: transparent). -
getMarginColor
The margin highlight fill color (default: transparent). -
setMarginColor
The margin highlight fill color (default: transparent). -
getEventTargetColor
The event target element highlight fill color (default: transparent). -
setEventTargetColor
The event target element highlight fill color (default: transparent). -
getShapeColor
The shape outside fill color (default: transparent). -
setShapeColor
The shape outside fill color (default: transparent). -
getShapeMarginColor
The shape margin fill color (default: transparent). -
setShapeMarginColor
The shape margin fill color (default: transparent). -
getCssGridColor
The grid layout color (default: transparent). -
setCssGridColor
The grid layout color (default: transparent). -
getColorFormat
The color format used to format color styles (default: hex). -
setColorFormat
The color format used to format color styles (default: hex). -
getGridHighlightConfig
The grid layout highlight configuration (default: all transparent). -
setGridHighlightConfig
The grid layout highlight configuration (default: all transparent). -
getFlexContainerHighlightConfig
The flex container highlight configuration (default: all transparent). -
setFlexContainerHighlightConfig
public void setFlexContainerHighlightConfig(FlexContainerHighlightConfig flexContainerHighlightConfig) The flex container highlight configuration (default: all transparent). -
getFlexItemHighlightConfig
The flex item highlight configuration (default: all transparent). -
setFlexItemHighlightConfig
The flex item highlight configuration (default: all transparent). -
getContrastAlgorithm
The contrast algorithm to use for the contrast ratio (default: aa). -
setContrastAlgorithm
The contrast algorithm to use for the contrast ratio (default: aa). -
getContainerQueryContainerHighlightConfig
The container query container highlight configuration (default: all transparent). -
setContainerQueryContainerHighlightConfig
public void setContainerQueryContainerHighlightConfig(ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig) The container query container highlight configuration (default: all transparent). -
toString
-