java.beans
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
Exceptions
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 JavaBeans API provides interfaces and classes for manipulating Java Bean properties, events, and introspection.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePropertyChangeListener\u003c/code\u003e is triggered when a bean's bound property changes, while \u003ccode\u003eIntrospector\u003c/code\u003e helps developers understand a bean's capabilities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePropertyChangeEvent\u003c/code\u003e signals bound or constrained property changes, and \u003ccode\u003ePropertyChangeSupport\u003c/code\u003e assists beans with bound properties.\u003c/p\u003e\n"],["\u003cp\u003eBean properties are described using \u003ccode\u003ePropertyDescriptor\u003c/code\u003e, while \u003ccode\u003eBeanDescriptor\u003c/code\u003e provides global bean information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIntrospectionException\u003c/code\u003e and \u003ccode\u003ePropertyVetoException\u003c/code\u003e represent errors during bean introspection and property changes respectively.\u003c/p\u003e\n"]]],["The content details Java's JavaBeans framework, outlining interfaces, classes, and exceptions. Key components include `BeanInfo`, `PropertyChangeListener`, and descriptors like `BeanDescriptor`, `EventSetDescriptor`, `MethodDescriptor`, and `PropertyDescriptor`. `Introspector` helps identify a bean's properties, events, and methods. `PropertyChangeEvent` and `IndexedPropertyChangeEvent` signal changes in properties. `PropertyChangeSupport` aids beans in managing bound properties, and `PropertyVetoException` signals unacceptable property changes.\n"],null,["Interfaces \n\n|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [BeanInfo](../../../reference/java/beans/BeanInfo.html) | |\n| [PropertyChangeListener](../../../reference/java/beans/PropertyChangeListener.html) | A \"PropertyChange\" event gets fired whenever a bean changes a \"bound\" property. |\n\nClasses \n\n|-----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BeanDescriptor](../../../reference/java/beans/BeanDescriptor.html) | Describes a bean's global information. |\n| [EventSetDescriptor](../../../reference/java/beans/EventSetDescriptor.html) | |\n| [FeatureDescriptor](../../../reference/java/beans/FeatureDescriptor.html) | Common base class for Descriptors. |\n| [IndexedPropertyChangeEvent](../../../reference/java/beans/IndexedPropertyChangeEvent.html) | An \"IndexedPropertyChange\" event gets delivered whenever a component that conforms to the JavaBeans™ specification (a \"bean\") changes a bound indexed property. |\n| [IndexedPropertyDescriptor](../../../reference/java/beans/IndexedPropertyDescriptor.html) | |\n| [Introspector](../../../reference/java/beans/Introspector.html) | The `Introspector` is a utility for developers to figure out which properties, events, and methods a JavaBean supports. |\n| [MethodDescriptor](../../../reference/java/beans/MethodDescriptor.html) | Describes a bean's method. |\n| [ParameterDescriptor](../../../reference/java/beans/ParameterDescriptor.html) | |\n| [PropertyChangeEvent](../../../reference/java/beans/PropertyChangeEvent.html) | A \"PropertyChange\" event gets delivered whenever a bean changes a \"bound\" or \"constrained\" property. |\n| [PropertyChangeListenerProxy](../../../reference/java/beans/PropertyChangeListenerProxy.html) | A class which extends the `EventListenerProxy` specifically for adding a `PropertyChangeListener` with a \"bound\" property. |\n| [PropertyChangeSupport](../../../reference/java/beans/PropertyChangeSupport.html) | This is a utility class that can be used by beans that support bound properties. |\n| [PropertyDescriptor](../../../reference/java/beans/PropertyDescriptor.html) | Describes one Java Bean property. |\n| [SimpleBeanInfo](../../../reference/java/beans/SimpleBeanInfo.html) | |\n\nExceptions \n\n|-------------------------------------------------------------------------------------|------------------------------------------------------------|\n| [IntrospectionException](../../../reference/java/beans/IntrospectionException.html) | |\n| [PropertyVetoException](../../../reference/java/beans/PropertyVetoException.html) | Indicates that a proposed property change is unacceptable. |"]]