borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.util
java.lang.Object +----borland.jbcl.util.BasicBeanInfo +----borland.jbcl.control.CheckboxControlBeanInfo +----borland.jbcl.control.GroupBoxBeanInfo +----borland.jbcl.control.BevelPanelBeanInfo +----borland.jbcl.control.ChoiceControlBeanInfo +----borland.jbcl.control.FieldControlBeanInfo +----borland.jbcl.control.TextFieldControlBeanInfo +----borland.jbcl.control.GridControlBeanInfo +----borland.jbcl.control.TextAreaControlBeanInfo +----borland.jbcl.control.ButtonControlBeanInfo +----borland.jbcl.control.LabelControlBeanInfo +----borland.jbcl.control.ListControlBeanInfo +----borland.jbcl.control.DecoratedFrameBeanInfo +----borland.jbcl.control.TreeControlBeanInfo +----borland.jbcl.control.ButtonBarBeanInfo +----borland.jbcl.control.TabsetControlBeanInfo +----borland.jbcl.control.TabsetPanelBeanInfo +----borland.jbcl.control.ShapeControlBeanInfo +----borland.jbcl.control.SplitPanelBeanInfo +----borland.jbcl.control.ImageControlBeanInfo +----borland.jbcl.control.MessageBeanInfo +----borland.jbcl.control.FilerBeanInfo +----borland.jbcl.control.FontChooserBeanInfo +----borland.jbcl.control.ColorChooserBeanInfo +----borland.jbcl.control.CheckboxPanelBeanInfo +----borland.jbcl.control.StatusBarBeanInfo +----borland.jbcl.control.PickListItemEditorBeanInfo +----borland.jbcl.control.LocatorControlBeanInfo +----borland.jbcl.dataset.ColumnBeanInfo +----borland.jbcl.dataset.DatabaseBeanInfo +----borland.jbcl.dataset.TextDataFileBeanInfo +----borland.jbcl.dataset.QueryResolverBeanInfo +----borland.jbcl.dataset.TableDataSetBeanInfo +----borland.jbcl.dataset.QueryDataSetBeanInfo +----borland.jbcl.dataset.DataSetViewBeanInfo +----borland.jbcl.dataset.ProcedureDataSetBeanInfo
Variables Properties Methods
Implements BeanInfo
A convenient implementation of the java.beans.BeanInfo interface, designed to be subclassed to fill in appropriate properties, methods, and events for a JavaBean. Extend BasicBeanInfo when you want to provide explicit information about your component rather than have JBuilder and other such tools derive the information through introspection.
For more information about using BasicBeanInfo, see Specifying component information with BeanInfo classes.
protected BeanInfo[] additionalBeanInfoAn array of other other bean information objects.
protected Class beanClassThe JavaBean component class. A subclassed bean information class must specify a component class, which is the only required field.
protected Class customizerClassThe customizer class for this JavaBean, if one exists.
protected int defaultEventIndexThe index of the default event for your JavaBean. The index identifies the event in the set of event descriptors described held in the array of the the eventSetDescriptors property. An index value of -1 means there is no default event.
protected int defaultPropertyIndexThe index of the default property for your JavaBean. The index identifies the property in the set of property descriptors held in the array of the the propertyDescriptors property. An index value of -1 means there is no default property.
A default property has no meaning to JBuilder.
protected String[][] eventListenerMethodsThe names of each event set's listener methods. Specify the names using this format:
{{"listener1Method1", "listener1Method2", "listener1Method3", ...}, ...}
Example: {{"actionPerformed"}, ...}
protected String[][] eventSetDescriptorsThe event information for your JavaBean. Specify the event information using this format:
{{"EventSetName", "EventListenerClass", "AddMethod", "RemoveMethod"}, ...}
Example: {{"ActionListener", "java.awt.event.ActionListener", "addActionListener", "removeActionListener"}, ...}
protected Image iconColor16x16A 16x16 pixel color icon for your JavaBean.
protected Image iconColor32x32A 32x32 pixel color icon for your JavaBean.
protected Image iconMono16x16A 16x16 pixel monochromatic icon for your JavaBean.
protected Image iconMono32x32A 32x32 pixel monochromatic icon for your JavaBean.
protected String[] methodNamesThe method names for your JavaBean. Don't include the access methods for properties. Specify the method names using this format:
{"method1", "method2", "method3", ...}Example: {"fillRect", "eraseRect", "close", "open"}
protected String[][] methodParametersThe method parameters for each of your JavaBean's methods. Specify the parameters using this format:
{{"method1Parameter1", "method1Parameter2", ...}, ...}Example: {{"java.awt.Graphics", "java.awt.Rectangle", ...}, ...}
protected String[][] propertyDescriptorsThe property information for your JavaBean. Specify the property information using this format:
{{"PropertyName", "ReadMethod", "WriteMethod", "PropertyEditor"}, ...}Example: {{"text", "getText", "setText", null}, ...}
public BeanInfo[] getAdditionalBeanInfo()Returns the array of bean information objects for this JavaBean.
public BeanDescriptor getBeanDescriptor()Returns the bean descriptor associated with this JavaBean.
public int getDefaultEventIndex()Returns the default event index for this JavaBean. The index returned locates the event in the eventSetDescriptors array. An index value of -1 means there is no default event for this bean.
public int getDefaultPropertyIndex()Returns the default property index for this JavaBean. The index returned locates the event in the propertyDescriptors array. An index value of -1 means there is no default property for this bean.
public EventSetDescriptor[] getEventSetDescriptors()Returns the array of event set descriptors for this JavaBean.
public MethodDescriptor[] getMethodDescriptors()Returns the array of method descriptors for this JavaBean.
public PropertyDescriptor[] getPropertyDescriptors()Returns the array of property descriptors for this JavaBean.