com.ibm.as400.access
Class CommandListBeanInfo

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

public class CommandListBeanInfo
extends SimpleBeanInfo

The CommandListBeanInfo class provides bean information for the CommandList class.


Field Summary
Modifier and Type Field and Description
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
Constructor and Description
CommandListBeanInfo()
           
 
Method Summary
Modifier and Type Method and Description
 BeanDescriptor getBeanDescriptor()
          Returns the bean descriptor.
 int getDefaultEventIndex()
          Returns the index of the default event.
 int getDefaultPropertyIndex()
          Returns the index of the default property.
 EventSetDescriptor[] getEventSetDescriptors()
          Returns the descriptors for all events.
 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
getAdditionalBeanInfo, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandListBeanInfo

public CommandListBeanInfo()
Method Detail

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Returns the bean descriptor.

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

getDefaultEventIndex

public int getDefaultEventIndex()
Returns the index of the default event.

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

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.

getEventSetDescriptors

public EventSetDescriptor[] getEventSetDescriptors()
Returns the descriptors for all events.

Specified by:
getEventSetDescriptors in interface BeanInfo
Overrides:
getEventSetDescriptors in class SimpleBeanInfo
Returns:
The descriptors for all events.

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.