Annotation Interface DefaultProperty
@Inherited @Documented @Retention(RUNTIME) @Target(TYPE) public @interface DefaultProperty
Specifies a property to which child elements will be added or set when an explicit property is not given.
- Since:
- JavaFX 2.0
Required Element Summary
| Modifier and Type | Required Element | Description |
|---|---|---|
String |
value |
The name of the default property. |
Element Details
value
String value
The name of the default property.
- Returns:
- the name of the property
© 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.