NamedArg (JavaFX 25)
Description: declaration: module: javafx.base, package: javafx.beans, annotation type: NamedArg

# 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

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String`
  `value`
  The name of the annotated argument.

- ## Optional Element Summary

  Optional Elements
  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:
      `""`