BeanInfo
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Constants
public
static
final
int
ICON_COLOR_16x16
public
static
final
int
ICON_COLOR_32x32
public
static
final
int
ICON_MONO_16x16
public
static
final
int
ICON_MONO_32x32
Public Methods
public
abstract
BeanInfo[]
getAdditionalBeanInfo
()
public
abstract
int
getDefaultEventIndex
()
public
abstract
int
getDefaultPropertyIndex
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["The `BeanInfo` interface provides information about a Java Bean, such as its properties, methods, and events."],["It includes methods for retrieving bean descriptors, property descriptors, method descriptors, and event set descriptors."],["`BeanInfo` defines constants for representing different types of icons associated with the bean."],["Developers can extend the `SimpleBeanInfo` class for easier implementation of the `BeanInfo` interface."],["The `getAdditionalBeanInfo` method allows for retrieving additional bean information from other sources."]]],["`BeanInfo` is a public interface with a known indirect subclass `SimpleBeanInfo`. It defines constants for icon types: `ICON_COLOR_16x16`, `ICON_COLOR_32x32`, `ICON_MONO_16x16`, and `ICON_MONO_32x32`. Abstract methods include `getAdditionalBeanInfo`, `getBeanDescriptor`, `getDefaultEventIndex`, `getDefaultPropertyIndex`, `getEventSetDescriptors`, `getMethodDescriptors`, and `getPropertyDescriptors`. These methods retrieve metadata about the bean, such as descriptors for events, methods, and properties, and default indexes.\n"]]