Class HighlightConfig

java.lang.Object
io.webfolder.cdp.type.overlay.HighlightConfig

public class HighlightConfig extends Object
Configuration data for the highlighting of page elements.
  • Constructor Details

    • HighlightConfig

      public HighlightConfig()
  • Method Details

    • isShowInfo

      public Boolean isShowInfo()
      Whether the node info tooltip should be shown (default: false).
    • setShowInfo

      public void setShowInfo(Boolean showInfo)
      Whether the node info tooltip should be shown (default: false).
    • isShowStyles

      public Boolean isShowStyles()
      Whether the node styles in the tooltip (default: false).
    • setShowStyles

      public void setShowStyles(Boolean showStyles)
      Whether the node styles in the tooltip (default: false).
    • isShowRulers

      public Boolean isShowRulers()
      Whether the rulers should be shown (default: false).
    • setShowRulers

      public void setShowRulers(Boolean showRulers)
      Whether the rulers should be shown (default: false).
    • isShowAccessibilityInfo

      public Boolean isShowAccessibilityInfo()
      Whether the a11y info should be shown (default: true).
    • setShowAccessibilityInfo

      public void setShowAccessibilityInfo(Boolean showAccessibilityInfo)
      Whether the a11y info should be shown (default: true).
    • isShowExtensionLines

      public Boolean isShowExtensionLines()
      Whether the extension lines from node to the rulers should be shown (default: false).
    • setShowExtensionLines

      public void setShowExtensionLines(Boolean showExtensionLines)
      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).
    • setContentColor

      public void setContentColor(RGBA contentColor)
      The content box highlight fill color (default: transparent).
    • getPaddingColor

      public RGBA getPaddingColor()
      The padding highlight fill color (default: transparent).
    • setPaddingColor

      public void setPaddingColor(RGBA paddingColor)
      The padding highlight fill color (default: transparent).
    • getBorderColor

      public RGBA getBorderColor()
      The border highlight fill color (default: transparent).
    • setBorderColor

      public void setBorderColor(RGBA borderColor)
      The border highlight fill color (default: transparent).
    • getMarginColor

      public RGBA getMarginColor()
      The margin highlight fill color (default: transparent).
    • setMarginColor

      public void setMarginColor(RGBA marginColor)
      The margin highlight fill color (default: transparent).
    • getEventTargetColor

      public RGBA getEventTargetColor()
      The event target element highlight fill color (default: transparent).
    • setEventTargetColor

      public void setEventTargetColor(RGBA eventTargetColor)
      The event target element highlight fill color (default: transparent).
    • getShapeColor

      public RGBA getShapeColor()
      The shape outside fill color (default: transparent).
    • setShapeColor

      public void setShapeColor(RGBA shapeColor)
      The shape outside fill color (default: transparent).
    • getShapeMarginColor

      public RGBA getShapeMarginColor()
      The shape margin fill color (default: transparent).
    • setShapeMarginColor

      public void setShapeMarginColor(RGBA shapeMarginColor)
      The shape margin fill color (default: transparent).
    • getCssGridColor

      public RGBA getCssGridColor()
      The grid layout color (default: transparent).
    • setCssGridColor

      public void setCssGridColor(RGBA cssGridColor)
      The grid layout color (default: transparent).
    • getColorFormat

      public ColorFormat getColorFormat()
      The color format used to format color styles (default: hex).
    • setColorFormat

      public void setColorFormat(ColorFormat colorFormat)
      The color format used to format color styles (default: hex).
    • getGridHighlightConfig

      public GridHighlightConfig getGridHighlightConfig()
      The grid layout highlight configuration (default: all transparent).
    • setGridHighlightConfig

      public void setGridHighlightConfig(GridHighlightConfig gridHighlightConfig)
      The grid layout highlight configuration (default: all transparent).
    • getFlexContainerHighlightConfig

      public FlexContainerHighlightConfig getFlexContainerHighlightConfig()
      The flex container highlight configuration (default: all transparent).
    • setFlexContainerHighlightConfig

      public void setFlexContainerHighlightConfig(FlexContainerHighlightConfig flexContainerHighlightConfig)
      The flex container highlight configuration (default: all transparent).
    • getFlexItemHighlightConfig

      public FlexItemHighlightConfig getFlexItemHighlightConfig()
      The flex item highlight configuration (default: all transparent).
    • setFlexItemHighlightConfig

      public void setFlexItemHighlightConfig(FlexItemHighlightConfig flexItemHighlightConfig)
      The flex item highlight configuration (default: all transparent).
    • getContrastAlgorithm

      public ContrastAlgorithm getContrastAlgorithm()
      The contrast algorithm to use for the contrast ratio (default: aa).
    • setContrastAlgorithm

      public void setContrastAlgorithm(ContrastAlgorithm contrastAlgorithm)
      The contrast algorithm to use for the contrast ratio (default: aa).
    • getContainerQueryContainerHighlightConfig

      public ContainerQueryContainerHighlightConfig 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

      public String toString()
      Overrides:
      toString in class Object