![]() |
![]() |
![]() |
Use the SmartGuide - New Property Feature window to add a new property feature. Method features are also added to get and set the property. If the property is readable, a get method feature is added, and if the property is writable, a set method feature is added.
If the property is indexed, it contains individually accessible elements. Get and set method features are added to access an element. These are in addition to the get and set method features for the property as a whole. Note that an array property can either be indexed or not. If it is not indexed, array elements are not accessible in the Visual Composition Editor.
If the property is bound, the propertyChange event and related method features are also added if they have not yet been added. The propertyChange event provides notification of property value changes.
If the property is constrained, the vetoableChange event and related method features are also added if they have not yet been added. The vetoableChange event provides notification of requested property value changes. If a listener of the vetoableChange event throws the PropertyVetoException, the property value change is not committed.
Fields
If a property is not bound, you must associate an event with the source and target properties in connection settings to obtain the value change. VisualAge generates listener methods to get the source property value and set the target property when the event occurs. For example, if you want to obtain the text property value from a TextField bean when the Enter key is pressed, you can associate the actionPerformed event with the text source property and the target property.
Generated Code
Class Qualification Dialog
Bean Information SmartGuide
BeanInfo Page Tool Bar
Features--BeanInfo Page