Class Overlay.FlexContainerHighlightConfig

    • Constructor Detail

      • FlexContainerHighlightConfig

        🡅  🡇     🗕  🗗  🗖
        public FlexContainerHighlightConfig​(Overlay.LineStyle containerBorder,
                                            Overlay.LineStyle lineSeparator,
                                            Overlay.LineStyle itemSeparator,
                                            Overlay.BoxStyle mainDistributedSpace,
                                            Overlay.BoxStyle crossDistributedSpace,
                                            Overlay.BoxStyle rowGapSpace,
                                            Overlay.BoxStyle columnGapSpace,
                                            Overlay.LineStyle crossAlignment)
        Constructor
        Parameters:
        containerBorder - The style of the container border
        OPTIONAL
        lineSeparator - The style of the separator between lines
        OPTIONAL
        itemSeparator - The style of the separator between items
        OPTIONAL
        mainDistributedSpace - Style of content-distribution space on the main axis (justify-content).
        OPTIONAL
        crossDistributedSpace - Style of content-distribution space on the cross axis (align-content).
        OPTIONAL
        rowGapSpace - Style of empty space caused by row gaps (gap/row-gap).
        OPTIONAL
        columnGapSpace - Style of empty space caused by columns gaps (gap/column-gap).
        OPTIONAL
        crossAlignment - Style of the self-alignment line (align-items).
        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.
        Code:
        Exact Method Body:
         return new boolean[] { true, true, true, true, true, true, true, true, };
        
      • equals

        🡅  🡇     🗕  🗗  🗖
        public boolean equals​(java.lang.Object other)
        Checks whether 'this' equals an input Java-Object
        Overrides:
        equals in class java.lang.Object
        Code:
        Exact Method Body:
         if (other == null)                       return false;
         if (other.getClass() != this.getClass()) return false;
                
         FlexContainerHighlightConfig o = (FlexContainerHighlightConfig) other;
                
         return
                 Objects.equals(this.containerBorder, o.containerBorder)
             &&  Objects.equals(this.lineSeparator, o.lineSeparator)
             &&  Objects.equals(this.itemSeparator, o.itemSeparator)
             &&  Objects.equals(this.mainDistributedSpace, o.mainDistributedSpace)
             &&  Objects.equals(this.crossDistributedSpace, o.crossDistributedSpace)
             &&  Objects.equals(this.rowGapSpace, o.rowGapSpace)
             &&  Objects.equals(this.columnGapSpace, o.columnGapSpace)
             &&  Objects.equals(this.crossAlignment, o.crossAlignment);
        
      • hashCode

        🡅     🗕  🗗  🗖
        public int hashCode()
        Generates a Hash-Code for 'this' instance
        Overrides:
        hashCode in class java.lang.Object
        Code:
        Exact Method Body:
         return
                 this.containerBorder.hashCode()
             +   this.lineSeparator.hashCode()
             +   this.itemSeparator.hashCode()
             +   this.mainDistributedSpace.hashCode()
             +   this.crossDistributedSpace.hashCode()
             +   this.rowGapSpace.hashCode()
             +   this.columnGapSpace.hashCode()
             +   this.crossAlignment.hashCode();