com.ibm.as400.security.auth
Class AS400PrincipalBeanInfo
- java.lang.Object
-
- java.beans.SimpleBeanInfo
-
- com.ibm.as400.security.auth.AS400PrincipalBeanInfo
-
- All Implemented Interfaces:
- java.beans.BeanInfo
public class AS400PrincipalBeanInfo extends java.beans.SimpleBeanInfo
Bean information for the AS400Principal class.
-
-
Constructor Summary
Constructors Constructor and Description AS400PrincipalBeanInfo()
-
Method Summary
Methods Modifier and Type Method and Description int
getDefaultEventIndex()
Returns the index of the default event.int
getDefaultPropertyIndex()
Returns the index of the default property.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
-
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:
- The index to the default event.
-
getDefaultPropertyIndex
public int getDefaultPropertyIndex()
Returns the index of the default property.- Specified by:
getDefaultPropertyIndex
in interfacejava.beans.BeanInfo
- Overrides:
getDefaultPropertyIndex
in classjava.beans.SimpleBeanInfo
- Returns:
- The index to the default property.
-
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.The superclass returns a generic image; subclasses should override with specific images as appropriate.
- Specified by:
getIcon
in interfacejava.beans.BeanInfo
- Overrides:
getIcon
in classjava.beans.SimpleBeanInfo
- Parameters:
icon
- The desired icon size and color.- 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.
-
-