Package Torello.JavaDoc
Enum IntoHTMLTable.Background
- java.lang.Object
-
- java.lang.Enum<IntoHTMLTable.Background>
-
- Torello.JavaDoc.IntoHTMLTable.Background
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IntoHTMLTable.Background>
- Enclosing class:
- IntoHTMLTable
public static enum IntoHTMLTable.Background extends java.lang.Enum<IntoHTMLTable.Background>
This is the complete list of values that may be assigned to the Annotation-Element namedIntoHTMLTable.background()
.
The Documentation for the below Enum-Constants contains explicit examples for how to use this Annotation, along with how each of the provided Color-Choices are rendered inside of a Web-Browser Tabl.
Hi-Lited Source-Code:- View Here: Torello/JavaDoc/IntoHTMLTable.java
- Open New Browser-Tab: Torello/JavaDoc/IntoHTMLTable.java
File Size: 3,175 Bytes Line Count: 78 '\n' Characters Found
-
-
Enum Constant Summary
Enum-Constants which assign a Solid-Color to the HTML-Table's Background Enum Constant Blue
Brown
Gray
Green
Enum-Constants which assign a Dithered-Color to the HTML-Table's Background Enum Constant BlueDither
GrayDither
GreenDither
Standard
-
Method Summary
Convert String to Enum Constant Modifier and Type Method static IntoHTMLTable.Background
valueOf(String name)
List all Enum Constants Modifier and Type Method static IntoHTMLTable.Background[]
values()
-
-
-
Enum Constant Detail
-
Standard
public static final IntoHTMLTable.Background Standard
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 BackgroundRow-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); }
-
BlueDither
public static final IntoHTMLTable.Background BlueDither
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 Blue-Dithered Background", background=BlueDither ) public void methodBlueDitherBackground() { 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 Blue-Dithered BackgroundRow-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):
DIV.IHTA.BlueDither { background: linear-gradient(0.25turn, lavender, 75%, rgba(0, 0, 255, 0.65)); }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.BlueDither SPAN.IHTA, DIV.IHTA.Blue SPAN.IHTA { color: white; background: darkblue; }
-
GreenDither
public static final IntoHTMLTable.Background GreenDither
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 Green-Dithered Background", background=GreenDither ) public void methodGreenDitherBackground() { 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 Green-Dithered BackgroundRow-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):
DIV.IHTA.GreenDither { background: linear-gradient(0.25turn, palegreen, 75%, rgba(0, 128, 0, 0.65)); }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.GreenDither SPAN.IHTA, DIV.IHTA.Green SPAN.IHTA { color: white; background: darkgreen; }
-
GrayDither
public static final IntoHTMLTable.Background GrayDither
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 Gray-Dithered Background", background=GrayDither ) public void methodGrayDitherBackground() { 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 Gray-Dithered BackgroundRow-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):
DIV.IHTA.GrayDither { background: linear-gradient(0.25turn, gainsboro, 75%, rgba(128, 128, 128, 0.65)); }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.GrayDither SPAN.IHTA, DIV.IHTA.Gray SPAN.IHTA { color: white; background: darkslategray; }
-
Brown
public static final IntoHTMLTable.Background Brown
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-Background", background=Brown) public void methodBrownBackground() { 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-BackgroundRow-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):
DIV.IHTA.Brown { background: wheat; }
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); }
-
Blue
public static final IntoHTMLTable.Background Blue
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 Blue-Background", background=Blue) public void methodBlueBackground() { 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 Blue-BackgroundRow-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):
DIV.IHTA.Blue { background: lavender; }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.BlueDither SPAN.IHTA, DIV.IHTA.Blue SPAN.IHTA { color: white; background: darkblue; }
-
Green
public static final IntoHTMLTable.Background Green
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 Green-Background", background=Green) public void methodGreenBackground() { 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 Green-BackgroundRow-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):
DIV.IHTA.Green { background: palegreen; }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.GreenDither SPAN.IHTA, DIV.IHTA.Green SPAN.IHTA { color: white; background: darkgreen; }
-
Gray
public static final IntoHTMLTable.Background Gray
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 Gray-Background", background=Gray) public void methodGrayBackground() { 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 Gray-BackgroundRow-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):
DIV.IHTA.Gray { background: gainsboro; }
The Title & Backgound CSS-Colors which are assigned to this Enum-Constant, for the<SPAN CLASS=IHTA>
(Description Title) Tag:
Cascading Style Sheet (CSS):
DIV.IHTA.GrayDither SPAN.IHTA, DIV.IHTA.Gray SPAN.IHTA { color: white; background: darkslategray; }
-
-
Method Detail
-
values
public static IntoHTMLTable.Background[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IntoHTMLTable.Background c : IntoHTMLTable.Background.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntoHTMLTable.Background valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-