Annotation Type IntoHTMLTable


  • @Retention(SOURCE)
    @Target({FIELD,CONSTRUCTOR,METHOD})
    public @interface IntoHTMLTable
    Requests that the Java-Doc Upgrader convert the Description area of a Java-Doc Web-Page Detail-Section into an HTML <TABLE> Element. The Description portion of the Detail Description MUST be initially loaded with a series lines which begin with HTML <BR /> elements.

    The following documentation example should help elucidate how this annotation may be used. This example is copied from the IntoHTMLTable.Background enum documentaion. To view all examples of using this annotation, please review the color selections which are offered in the Nested-Enum (again, named 'Background') for this class.
    See Also:
    IntoHTMLTable.Background


    • Element Detail

      • background

        🡇     🗕  🗗  🗖
        IntoHTMLTable.Background background
        Allows a user to select the CSS-Class, and therefore the Colors, assigned to both the HTML-Table, and the Title-Background for the Description-Area of this Detail-Element.

        This is the "default" color-assignment which is used whenever no value is provided to the background value. This is an example of how to use this Enum-Constant with the @IntoHTMLTable Annotation:

        Example:
        /**
         * <BR>Row-1 Title: This is the First Table-Row of the Description-Table
         * <BR>Row-2 Title: This is the Second Table-Row of the Description-Table
         */
        @IntoHTMLTable(
            title="This is a Description-Table with a Brown-Dithered Background",
            background=Standard
        )
        public void methodStandardBackground()
        { return; }
        


        This is the HTML-Output which is generated after applying the CSS which has been assigned to this Enum-Constant:

        This is a Description-Table with a Brown-Dithered Background
        Row-1 Title: This is the First Table-Row of the Description-Table
        Row-2 Title: This is the Second Table-Row of the Description-Table


        The Backgound CSS-Colors which are assigned to this Enum-Constant, for the <DIV CLASS=IHTA> (Description Divider) Tag:

        Cascading Style Sheet (CSS):
        --Convenience-Dithered-Start:   lightyellow;
        --Convenience-Dithered-End:     #bb7a2a; /* --JD-Brown */
        
        DIV.IHTA.Standard
        {
            background: linear-gradient(
                0.25turn, var(--Convenience-Dithered-Start),
                75%, var(--Convenience-Dithered-End)
            );
        }
        


        The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the <SPAN CLASS=IHTA> (Description Title) Tag:

        Cascading Style Sheet (CSS):
        --Convenience-Detail-Label-Color:       white;
        --Convenience-Detail-Label-Background:  #bb7a2a;
        
        DIV.IHTA.Standard SPAN.IHTA,
        DIV.IHTA.Brown SPAN.IHTA
        {
            color:      var(--Convenience-Detail-Label-Color);
            background: var(--Convenience-Detail-Label-Background);
        }
        
        Default:
        Torello.JavaDoc.Annotations.IntoHTMLTable.Background.Standard
        Code:
        Exact Element Declaration:
         public Background background() default