Class Overlay.HighlightConfig

    • Constructor Detail

      • HighlightConfig

        🡅  🡇     🗕  🗗  🗖
        public HighlightConfig​
                    (java.lang.Boolean showInfo,
                     java.lang.Boolean showStyles,
                     java.lang.Boolean showRulers,
                     java.lang.Boolean showAccessibilityInfo,
                     java.lang.Boolean showExtensionLines,
                     DOM.RGBA contentColor,
                     DOM.RGBA paddingColor,
                     DOM.RGBA borderColor,
                     DOM.RGBA marginColor,
                     DOM.RGBA eventTargetColor,
                     DOM.RGBA shapeColor,
                     DOM.RGBA shapeMarginColor,
                     DOM.RGBA cssGridColor,
                     java.lang.String colorFormat,
                     Overlay.GridHighlightConfig gridHighlightConfig,
                     Overlay.FlexContainerHighlightConfig flexContainerHighlightConfig,
                     Overlay.FlexItemHighlightConfig flexItemHighlightConfig,
                     java.lang.String contrastAlgorithm,
                     Overlay.ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig)
        
        Constructor
        Parameters:
        showInfo - Whether the node info tooltip should be shown (default: false).
        OPTIONAL
        showStyles - Whether the node styles in the tooltip (default: false).
        OPTIONAL
        showRulers - Whether the rulers should be shown (default: false).
        OPTIONAL
        showAccessibilityInfo - Whether the a11y info should be shown (default: true).
        OPTIONAL
        showExtensionLines - Whether the extension lines from node to the rulers should be shown (default: false).
        OPTIONAL
        contentColor - The content box highlight fill color (default: transparent).
        OPTIONAL
        paddingColor - The padding highlight fill color (default: transparent).
        OPTIONAL
        borderColor - The border highlight fill color (default: transparent).
        OPTIONAL
        marginColor - The margin highlight fill color (default: transparent).
        OPTIONAL
        eventTargetColor - The event target element highlight fill color (default: transparent).
        OPTIONAL
        shapeColor - The shape outside fill color (default: transparent).
        OPTIONAL
        shapeMarginColor - The shape margin fill color (default: transparent).
        OPTIONAL
        cssGridColor - The grid layout color (default: transparent).
        OPTIONAL
        colorFormat - The color format used to format color styles (default: hex).
        OPTIONAL
        gridHighlightConfig - The grid layout highlight configuration (default: all transparent).
        OPTIONAL
        flexContainerHighlightConfig - The flex container highlight configuration (default: all transparent).
        OPTIONAL
        flexItemHighlightConfig - The flex item highlight configuration (default: all transparent).
        OPTIONAL
        contrastAlgorithm - The contrast algorithm to use for the contrast ratio (default: aa).
        OPTIONAL
        containerQueryContainerHighlightConfig - The container query container highlight configuration (default: all transparent).
        OPTIONAL
    • Method Detail

      • optionals

        🡅  🡇     🗕  🗗  🗖
        public boolean[] optionals()
        Description copied from class: BaseType
        Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding a JsonObject to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array position TRUE.

        NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
        Specified by:
        optionals in class BaseType
        Returns:
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.
      • equals

        🡅  🡇     🗕  🗗  🗖
        public boolean equals​(java.lang.Object other)
        Checks whether 'this' equals an input Java-Object
        Overrides:
        equals in class java.lang.Object
      • hashCode

        🡅     🗕  🗗  🗖
        public int hashCode()
        Generates a Hash-Code for 'this' instance
        Overrides:
        hashCode in class java.lang.Object