Package Torello.JavaDoc.Annotations
Annotation Type CSSLinks
-
@Target(TYPE) @Retention(SOURCE) public @interface CSSLinks
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:- View Here: Torello/JavaDoc/Annotations/CSSLinks.java
- Open New Browser-Tab: Torello/JavaDoc/Annotations/CSSLinks.java
File Size: 2,868 Bytes Line Count: 57 '\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 theStringused within this Array-Element.- Code:
- Exact Element Declaration:
public String[] FileNames();
-
-