com.ibm.as400.access
Class UserBeanInfo

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended bycom.ibm.as400.access.UserBeanInfo
All Implemented Interfaces:
BeanInfo

public class UserBeanInfo
extends SimpleBeanInfo

The UserBeanInfo class represents the bean information for the User class.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
UserBeanInfo()
           
 
Method Summary
 BeanDescriptor getBeanDescriptor()
          Returns the bean descriptor.
 int getDefaultEventIndex()
          Returns the index of the default event.
 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, getDefaultPropertyIndex, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBeanInfo

public UserBeanInfo()
Method Detail

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Returns the bean descriptor.

Returns:
The bean descriptor.

getDefaultEventIndex

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

Returns:
Zero (0), the index to the default event.

getEventSetDescriptors

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

Returns:
The descriptors for all events.

getIcon

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

Parameters:
icon - The desired icon size and color. Possible values are:
  • BeanInfo.ICON_MONO_16x16
  • BeanInfo.ICON_MONO_32x32
  • BeanInfo.ICON_COLOR_16x16
  • BeanInfo.ICON_COLOR_32x32
Returns:
The Image for the icon.

getPropertyDescriptors

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

Returns:
The descriptors for all properties.