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."],[[["\u003cp\u003eThe \u003ccode\u003eBeanInfo\u003c/code\u003e interface provides information about a Java Bean, such as its properties, methods, and events.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods for retrieving bean descriptors, property descriptors, method descriptors, and event set descriptors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBeanInfo\u003c/code\u003e defines constants for representing different types of icons associated with the bean.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can extend the \u003ccode\u003eSimpleBeanInfo\u003c/code\u003e class for easier implementation of the \u003ccode\u003eBeanInfo\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetAdditionalBeanInfo\u003c/code\u003e method allows for retrieving additional bean information from other sources.\u003c/p\u003e\n"]]],["`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"],null,["# BeanInfo\n\npublic interface **BeanInfo** \n\n|---|---|---|\n| Known Indirect Subclasses [SimpleBeanInfo](../../../reference/java/beans/SimpleBeanInfo.html) |---------------------------------------------------------------------|---| | [SimpleBeanInfo](../../../reference/java/beans/SimpleBeanInfo.html) | | |||\n\n### Constant Summary\n\n|-----|----------------------------------------------------------------------------------|---|\n| int | [ICON_COLOR_16x16](../../../reference/java/beans/BeanInfo.html#ICON_COLOR_16x16) | |\n| int | [ICON_COLOR_32x32](../../../reference/java/beans/BeanInfo.html#ICON_COLOR_32x32) | |\n| int | [ICON_MONO_16x16](../../../reference/java/beans/BeanInfo.html#ICON_MONO_16x16) | |\n| int | [ICON_MONO_32x32](../../../reference/java/beans/BeanInfo.html#ICON_MONO_32x32) | |\n\n### Public Method Summary\n\n|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| abstract [BeanInfo\\[\\]](../../../reference/java/beans/BeanInfo.html) | [getAdditionalBeanInfo](../../../reference/java/beans/BeanInfo.html#getAdditionalBeanInfo())() |\n| abstract [BeanDescriptor](../../../reference/java/beans/BeanDescriptor.html) | [getBeanDescriptor](../../../reference/java/beans/BeanInfo.html#getBeanDescriptor())() |\n| abstract int | [getDefaultEventIndex](../../../reference/java/beans/BeanInfo.html#getDefaultEventIndex())() |\n| abstract int | [getDefaultPropertyIndex](../../../reference/java/beans/BeanInfo.html#getDefaultPropertyIndex())() |\n| abstract [EventSetDescriptor\\[\\]](../../../reference/java/beans/EventSetDescriptor.html) | [getEventSetDescriptors](../../../reference/java/beans/BeanInfo.html#getEventSetDescriptors())() |\n| abstract [MethodDescriptor\\[\\]](../../../reference/java/beans/MethodDescriptor.html) | [getMethodDescriptors](../../../reference/java/beans/BeanInfo.html#getMethodDescriptors())() |\n| abstract [PropertyDescriptor\\[\\]](../../../reference/java/beans/PropertyDescriptor.html) | [getPropertyDescriptors](../../../reference/java/beans/BeanInfo.html#getPropertyDescriptors())() |\n\nConstants\n---------\n\n#### public static final int\n**ICON_COLOR_16x16**\n\n\u003cbr /\u003e\n\nConstant Value: 1 \n\n#### public static final int\n**ICON_COLOR_32x32**\n\n\u003cbr /\u003e\n\nConstant Value: 2 \n\n#### public static final int\n**ICON_MONO_16x16**\n\n\u003cbr /\u003e\n\nConstant Value: 3 \n\n#### public static final int\n**ICON_MONO_32x32**\n\n\u003cbr /\u003e\n\nConstant Value: 4\n\nPublic Methods\n--------------\n\n#### public abstract [BeanInfo\\[\\]](../../../reference/java/beans/BeanInfo.html)\n**getAdditionalBeanInfo**\n()\n\n\u003cbr /\u003e\n\n#### public abstract [BeanDescriptor](../../../reference/java/beans/BeanDescriptor.html)\n**getBeanDescriptor**\n()\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getDefaultEventIndex**\n()\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getDefaultPropertyIndex**\n()\n\n\u003cbr /\u003e\n\n#### public abstract [EventSetDescriptor\\[\\]](../../../reference/java/beans/EventSetDescriptor.html)\n**getEventSetDescriptors**\n()\n\n\u003cbr /\u003e\n\n#### public abstract [MethodDescriptor\\[\\]](../../../reference/java/beans/MethodDescriptor.html)\n**getMethodDescriptors**\n()\n\n\u003cbr /\u003e\n\n#### public abstract [PropertyDescriptor\\[\\]](../../../reference/java/beans/PropertyDescriptor.html)\n**getPropertyDescriptors**\n()\n\n\u003cbr /\u003e"]]