borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.util 

BasicBeanInfo class (abstract)

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

About the BasicBeanInfo class

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.


BasicBeanInfo variables

Variables implemented in this class

BasicBeanInfo properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

BasicBeanInfo methods

Methods implemented in this class

Methods implemented in java.lang.Object


BasicBeanInfo variables

additionalBeanInfo

  protected BeanInfo[] additionalBeanInfo
An array of other other bean information objects.

beanClass

  protected Class beanClass
The JavaBean component class. A subclassed bean information class must specify a component class, which is the only required field.

customizerClass

  protected Class customizerClass
The customizer class for this JavaBean, if one exists.

defaultEventIndex

  protected int defaultEventIndex
The 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.

defaultPropertyIndex

  protected int defaultPropertyIndex
The 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.

eventListenerMethods

  protected String[][] eventListenerMethods
The names of each event set's listener methods. Specify the names using this format:

 {{"listener1Method1", "listener1Method2",
     "listener1Method3", ...}, ...} 

Example: {{"actionPerformed"}, ...}

eventSetDescriptors

  protected String[][] eventSetDescriptors
The event information for your JavaBean. Specify the event information using this format:
{{"EventSetName", "EventListenerClass", "AddMethod", 
    "RemoveMethod"}, ...}

Example: {{"ActionListener", "java.awt.event.ActionListener", "addActionListener", "removeActionListener"}, ...}

iconColor16x16

  protected Image iconColor16x16
A 16x16 pixel color icon for your JavaBean.

iconColor32x32

  protected Image iconColor32x32
A 32x32 pixel color icon for your JavaBean.

iconMono16x16

  protected Image iconMono16x16
A 16x16 pixel monochromatic icon for your JavaBean.

iconMono32x32

  protected Image iconMono32x32
A 32x32 pixel monochromatic icon for your JavaBean.

methodNames

  protected String[] methodNames
The 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"}

methodParameters

  protected String[][] methodParameters
The method parameters for each of your JavaBean's methods. Specify the parameters using this format:
{{"method1Parameter1", "method1Parameter2", ...}, ...} 
Example: {{"java.awt.Graphics", "java.awt.Rectangle", ...}, ...}

propertyDescriptors

  protected String[][] propertyDescriptors
The property information for your JavaBean. Specify the property information using this format:
{{"PropertyName", "ReadMethod", "WriteMethod", 
    "PropertyEditor"}, ...} 
Example: {{"text", "getText", "setText", null}, ...}


BasicBeanInfo properties

additionalBeanInfo

 public BeanInfo[] getAdditionalBeanInfo()
Returns the array of bean information objects for this JavaBean.

beanDescriptor

 public BeanDescriptor getBeanDescriptor()
Returns the bean descriptor associated with this JavaBean.

defaultEventIndex

 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.

defaultPropertyIndex

 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.

eventSetDescriptors

 public EventSetDescriptor[] getEventSetDescriptors()
Returns the array of event set descriptors for this JavaBean.

methodDescriptors

 public MethodDescriptor[] getMethodDescriptors()
Returns the array of method descriptors for this JavaBean.

propertyDescriptors

 public PropertyDescriptor[] getPropertyDescriptors()
Returns the array of property descriptors for this JavaBean.