org.concord.biologica.engine
Class BioEngineBeanInfo

java.lang.Object
  |
  +--java.beans.SimpleBeanInfo
        |
        +--org.concord.biologica.engine.BioEngineBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo

public class BioEngineBeanInfo
extends java.beans.SimpleBeanInfo

This class contains the information necessary for a Java Beans builder (e.g. a beanbox) to work with the BioEngine bean.

Version:
$Revision: 1.1.1.1 $ $Date: 2001/04/28 00:39:11 $
Author:
$Author: ed $

Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
BioEngineBeanInfo()
          Creates the bean info object.
 
Method Summary
 java.beans.BeanInfo[] getAdditionalBeanInfo()
          Gets a BeanInfo for the superclass of this bean.
 java.beans.BeanDescriptor getBeanDescriptor()
          Gets the BeanDescriptor for this bean.
 java.awt.Image getIcon(int nIconKind)
          Gets an image that may be used to visually represent this bean (in the toolbar, on a form, etc).
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Returns descriptions of this bean's properties.
 
Methods inherited from class java.beans.SimpleBeanInfo
getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BioEngineBeanInfo

public BioEngineBeanInfo()
Creates the bean info object.
Method Detail

getAdditionalBeanInfo

public java.beans.BeanInfo[] getAdditionalBeanInfo()
Gets a BeanInfo for the superclass of this bean.
Overrides:
getAdditionalBeanInfo in class java.beans.SimpleBeanInfo
Returns:
BeanInfo[] containing this bean's superclass BeanInfo

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Gets the BeanDescriptor for this bean.
Overrides:
getBeanDescriptor in class java.beans.SimpleBeanInfo
Returns:
an object of type BeanDescriptor

getIcon

public java.awt.Image getIcon(int nIconKind)
Gets an image that may be used to visually represent this bean (in the toolbar, on a form, etc).
Overrides:
getIcon in class java.beans.SimpleBeanInfo
Parameters:
iconKind - the type of icon desired, one of: BeanInfo.ICON_MONO_16x16, BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_32x32, or BeanInfo.ICON_COLOR_32x32.
Returns:
an image for this bean
See Also:
BeanInfo.ICON_MONO_16x16, BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_32x32, BeanInfo.ICON_COLOR_32x32

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Returns descriptions of this bean's properties.
Overrides:
getPropertyDescriptors in class java.beans.SimpleBeanInfo
Returns:
PropertyDescriptor[] - array of property descriptors