com.ibm.as400.access
Class UserBeanInfo
- java.lang.Object
-
- java.beans.SimpleBeanInfo
-
- com.ibm.as400.access.UserBeanInfo
-
- All Implemented Interfaces:
- java.beans.BeanInfo
public class UserBeanInfo extends java.beans.SimpleBeanInfo
The UserBeanInfo class represents the bean information for the User class.
-
-
Constructor Summary
Constructors Constructor and Description UserBeanInfo()
-
Method Summary
Methods Modifier and Type Method and Description java.beans.BeanDescriptor
getBeanDescriptor()
Returns the bean descriptor.int
getDefaultEventIndex()
Returns the index of the default event.java.beans.EventSetDescriptor[]
getEventSetDescriptors()
Returns the descriptors for all events.java.awt.Image
getIcon(int icon)
Returns an Image for this bean's icon.java.beans.PropertyDescriptor[]
getPropertyDescriptors()
Returns the descriptors for all properties.
-
-
-
Method Detail
-
getBeanDescriptor
public java.beans.BeanDescriptor getBeanDescriptor()
Returns the bean descriptor.- Specified by:
getBeanDescriptor
in interfacejava.beans.BeanInfo
- Overrides:
getBeanDescriptor
in classjava.beans.SimpleBeanInfo
- Returns:
- The bean descriptor.
-
getDefaultEventIndex
public int getDefaultEventIndex()
Returns the index of the default event.- Specified by:
getDefaultEventIndex
in interfacejava.beans.BeanInfo
- Overrides:
getDefaultEventIndex
in classjava.beans.SimpleBeanInfo
- Returns:
- Zero (0), the index to the default event.
-
getEventSetDescriptors
public java.beans.EventSetDescriptor[] getEventSetDescriptors()
Returns the descriptors for all events.- Specified by:
getEventSetDescriptors
in interfacejava.beans.BeanInfo
- Overrides:
getEventSetDescriptors
in classjava.beans.SimpleBeanInfo
- Returns:
- The descriptors for all events.
-
getIcon
public java.awt.Image getIcon(int icon)
Returns an Image for this bean's icon.- Specified by:
getIcon
in interfacejava.beans.BeanInfo
- Overrides:
getIcon
in classjava.beans.SimpleBeanInfo
- 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 java.beans.PropertyDescriptor[] getPropertyDescriptors()
Returns the descriptors for all properties.- Specified by:
getPropertyDescriptors
in interfacejava.beans.BeanInfo
- Overrides:
getPropertyDescriptors
in classjava.beans.SimpleBeanInfo
- Returns:
- The descriptors for all properties.
-
-