Class HighlightConfig

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

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

    Constructors 
    Constructor Description
    HighlightConfig()  
  • Method Summary

    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 isShowExtensionLines()
    Whether the extension lines from node to the rulers should be shown (default: false).
    java.lang.Boolean isShowInfo()
    Whether the node info tooltip should be shown (default: false).
    java.lang.Boolean isShowRulers()
    Whether the rulers should be shown (default: false).
    java.lang.Boolean isShowStyles()
    Whether the node styles in the tooltip (default: false).
    void setBorderColor​(RGBA borderColor)
    The border highlight fill color (default: transparent).
    void setContentColor​(RGBA contentColor)
    The content box highlight fill color (default: transparent).
    void setCssGridColor​(RGBA cssGridColor)
    The grid layout color (default: transparent).
    void setEventTargetColor​(RGBA eventTargetColor)
    The event target element highlight fill color (default: 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 setShowExtensionLines​(java.lang.Boolean showExtensionLines)
    Whether the extension lines from node to the rulers should be shown (default: false).
    void setShowInfo​(java.lang.Boolean showInfo)
    Whether the node info tooltip should be shown (default: false).
    void setShowRulers​(java.lang.Boolean showRulers)
    Whether the rulers should be shown (default: false).
    void setShowStyles​(java.lang.Boolean showStyles)
    Whether the node styles in the tooltip (default: false).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isShowInfo

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

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

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

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

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

      public void setShowRulers​(java.lang.Boolean showRulers)
      Whether the rulers should be shown (default: false).
    • isShowExtensionLines

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

      public void setShowExtensionLines​(java.lang.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).