Annotation Interface NamedArg
@Retention(RUNTIME) @Target(PARAMETER) public @interface NamedArg
Annotation that provides information about argument's name.
- Since:
- JavaFX 8.0
Required Element Summary
| Modifier and Type | Required Element | Description |
|---|---|---|
String |
value |
The name of the annotated argument. |
Optional Element Summary
| Modifier and Type | Optional Element | Description |
|---|---|---|
String |
defaultValue |
The default value of the annotated argument. |
Element Details
value
String value
The name of the annotated argument.
- Returns:
- the name of the annotated argument
defaultValue
String defaultValue
The default value of the annotated argument.
- Returns:
- the default value of the annotated argument
- Default:
""
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.