@Documented @Target(value=TYPE) @Retention(value=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.BeanInfo.getBeanDescriptor()
Modifier and Type | Optional Element and Description |
---|---|
String |
defaultEventSet
|
String |
defaultProperty
|
String |
description
The
short description
for the bean descriptor
of the annotated class. |
public abstract String description
short description
for the bean descriptor
of the annotated class.public abstract 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.public abstract 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. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait