I wanted a list of all possible javafxdoc tags that are available when documenting JavaFX classes. Since the documentation that comes with the SDK is missing some information, I had to go digging through the source code for the tool itself, along with the code for the standard doclet and the XSL files.
So, compiled for you below, is a list of all tags that are specifically mentioned in the chain of components that make up the javafxdoc tool (as of SDK 1.2.3):
| Tag | Function |
|---|---|
| @advanced | Adds “advanced” to the CSS class for the method documentation. |
| @author | Not used when transforming to HTML. |
| @defaultvalue | Documents the default value for a variable. |
| @deprecated | Not used when transforming to HTML. |
| @example | Formats some example code, then attempts to show the results in the documentation for the class. |
| {@inheritDoc} | Copies method documentation from the nearest parent class in the inheritance tree. |
| {@link} | Inserts an inline link to a class method or variable. Uses the form package.class#member label. |
| @needsreview | Adds “This comment needs review.” to documentation for classes, methods, and variables. |
| @param | Documents the parameters for a method. |
| @profile | Notes the profile of the class: common, desktop, or mobile. |
| @return | Documents the return value for a method. |
| @since | Not used when transforming to HTML. |
| @see | Adds a “See Also” note, but can only take the form of package.class#member label. You can’t use URLs or plain text. |
| @throws | Documents exceptions for a method. |
| @treatasprivate | This lets you hide the documentation for classes or variables. Even if you set the -private flag on javafxdoc, classes or variables with this tag will not appear in the generated HTML. Note that a class still has a file generated for it, but it is just not linked into the index pages. Documentation for variables is not generated at all. |
| @version | Not used when transforming to HTML. |
Documentation for these tags are part of the site documentation for the maven-javafxdoc-plugin 1.0 release.
Posted by Nathan Erwin