@Documented @Target(TYPE) @Retention(RUNTIME) public @interface JavaBean
BeanInfo
classes. This annotation is not used if the annotated class has a corresponding user-defined BeanInfo
class, which does not imply the automatic analysis.Modifier and Type | Optional Element | Description |
---|---|---|
String |
defaultEventSet |
|
String |
defaultProperty |
|
String |
description |
The short description for the bean descriptor of the annotated class. |
String description
short description
for the bean descriptor
of the annotated class.""
String defaultProperty
index
in the array
of properties defined in the annotated class. If the name is not set or the annotated class does not define a property with the specified name, the default property index will be calculated automatically by the Introspector
depending on its state.""
String defaultEventSet
index
in the array
of event sets defined in the annotated class. If the name is not set or the annotated class does not define an event set with the specified name, the default event set index will be calculated automatically by the Introspector
depending on its state.""
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/beans/JavaBean.html