Package Torello.JavaDoc
Annotation Type CSSLinks
-
@Target(TYPE) @Retention(SOURCE) public @interface CSSLinks
Genuine Java Annotation:
This is an annotation that allows a user to request a specific'.css'
File from the'upgrade-files/stylesheets/'
directory to be copied into the output Java-Doc Directory Hierarchy so that the Type/Class that has been adorned with@CSSFiles
can utilize the CSS Definitions / Properies in that file.
Stylesheets no inside thestylesheets/
directory may also be used, but their full-path directory-name must be included in this annotation'sfileNames
element.
The@CSSLinks
annotation may only be placed on a type Definition (or inner Type-Definition) - for example:class, interface, enum, record
or@interface
(annotation).
Target:
Specifically:@Target(ElementType.TYPE)
has been placed on this@interface
definition!This Annotation allows a user to request that a CSS Link-Import be included in the Header Portion of any CIET/Type's respective Java-Doc Web-Page. This Annotation allows for multiple sheets to be applied to a single Java-Doc Page.
TheFileNames()
element in this annotation should be supplied with names for a file located inside the../upgrade-files/stylesheets/
sub-directory of whatever Java Source-Code Package in which your CIET/Type (your'.java'
file) resides. When you specify a CSS-File in that directory, you need not include any actual directory string information in the file-name. Just the Simple-Name of the file itself is expected / sufficient.
Importing CSS-Files from other locations on disk is also allowed. In such cases you would then (and only then) be obligated to include the Full-Path / Canonical File-Name for the CSS-File to be imported.
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/JavaDoc/CSSLinks.java
- Open New Browser-Tab: Torello/JavaDoc/CSSLinks.java
File Size: 2,162 Bytes Line Count: 42 '\n' Characters Found
Annotation Processor Class:
- View Here: Torello/JDUInternal/ANNOTATIONS/Processors/CSSLinksProcessor.java
- Open New Browser-Tab: Torello/JDUInternal/ANNOTATIONS/Processors/CSSLinksProcessor.java
File Size: 11,660 Bytes Line Count: 284 '\n' Characters Found
Annotation Mirror Class:
- View Here: Torello/JDUInternal/DATA_RECORDS/MainLoopData/AnnotationsMirror.java
- Open New Browser-Tab: Torello/JDUInternal/DATA_RECORDS/MainLoopData/AnnotationsMirror.java
File Size: 3,821 Bytes Line Count: 91 '\n' Characters Found
-
-
Required Element Summary
Required Elements Modifier and Type Required Element String[]
FileNames
-
-
-
Element Detail
-
FileNames
java.lang.String[] FileNames
The CSS-StyleSheet file (or files) for which an HTML<LINK REL=stylesheet>
Tag is to be inserted into this CIET/Type's Java-Doc Page Header.
This Annotation-Element is aString
-Array, which means more than one Style-Sheet may be included here. If the Style-Sheet has been properly placed, directly, into the../upgrade-files/stylesheets/
directory, then this'FileNames'
String
-Array should not include any parent or container directory information in the any of those kinds of FileName-String's
.
If a StyleSheet whose location on disk is situated on the File-System in some unrelated place, then the file's Full-Path Name (or at least it's Relative-Path Name with respect to the Current Working Directory at Build Initiation Time) should be theString
used within this Array-Element.
-
-