com.ibm.as400.access
Class ServiceProgramCallBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by com.ibm.as400.access.ServiceProgramCallBeanInfo
All Implemented Interfaces:
BeanInfo

public class ServiceProgramCallBeanInfo
extends SimpleBeanInfo

The ServiceProgramCallBeanInfo class provides bean information for the ServiceProgramCall class. ServiceProgramCall is a subclass of ProgramCall so bean information from ProgramCallBeanInfo also applies to ServiceProgramCall.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
ServiceProgramCallBeanInfo()
           
 
Method Summary
 BeanInfo[] getAdditionalBeanInfo()
          Returns the BeanInfo for the superclass of this bean.
 BeanDescriptor getBeanDescriptor()
          Returns the bean descriptor.
 int getDefaultPropertyIndex()
          Returns the index of the default property.
 Image getIcon(int icon)
          Returns an Image for this bean's icon.
 PropertyDescriptor[] getPropertyDescriptors()
          Returns the descriptors for all properties.
 
Methods inherited from class java.beans.SimpleBeanInfo
getDefaultEventIndex, getEventSetDescriptors, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProgramCallBeanInfo

public ServiceProgramCallBeanInfo()
Method Detail

getAdditionalBeanInfo

public BeanInfo[] getAdditionalBeanInfo()
Returns the BeanInfo for the superclass of this bean. Since ServiceProgramCall is a subclass of ProgramCall, this method will return a ProgramCallBeanInfo object.

Specified by:
getAdditionalBeanInfo in interface BeanInfo
Overrides:
getAdditionalBeanInfo in class SimpleBeanInfo
Returns:
an array of BeanInfo objects containing this bean's superclass BeanInfo.

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Returns the bean descriptor.

Specified by:
getBeanDescriptor in interface BeanInfo
Overrides:
getBeanDescriptor in class SimpleBeanInfo
Returns:
The bean descriptor.

getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Returns the index of the default property.

Specified by:
getDefaultPropertyIndex in interface BeanInfo
Overrides:
getDefaultPropertyIndex in class SimpleBeanInfo
Returns:
Zero (0), the index to the default property.

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Returns the descriptors for all properties.

Specified by:
getPropertyDescriptors in interface BeanInfo
Overrides:
getPropertyDescriptors in class SimpleBeanInfo
Returns:
The descriptors for all properties.

getIcon

public Image getIcon(int icon)
Returns an Image for this bean's icon.

Specified by:
getIcon in interface BeanInfo
Overrides:
getIcon in class SimpleBeanInfo
Parameters:
icon - The desired icon size and color.
Returns:
The Image for the icon.