com.ibm.as400.access
Class KeyedFileBeanInfo
- java.lang.Object
-
- java.beans.SimpleBeanInfo
-
- com.ibm.as400.access.KeyedFileBeanInfo
-
- All Implemented Interfaces:
- java.beans.BeanInfo
public class KeyedFileBeanInfo extends java.beans.SimpleBeanInfo
The KeyedFileBeanInfo class provides BeanInfo for the KeyedFile class.
-
-
Constructor Summary
Constructors Constructor and Description KeyedFileBeanInfo()
Constructs a KeyedFileBeanInfo object.
-
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.int
getDefaultPropertyIndex()
Returns the index of the default property.java.beans.EventSetDescriptor[]
getEventSetDescriptors()
Returns the set of event descriptors.java.awt.Image
getIcon(int icon)
Returns the icon image for a KeyedFile bean.java.beans.PropertyDescriptor[]
getPropertyDescriptors()
Returns the property descriptors.
-
-
-
Constructor Detail
-
KeyedFileBeanInfo
public KeyedFileBeanInfo()
Constructs a KeyedFileBeanInfo object.
-
-
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:
- 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 set of event descriptors.- Specified by:
getEventSetDescriptors
in interfacejava.beans.BeanInfo
- Overrides:
getEventSetDescriptors
in classjava.beans.SimpleBeanInfo
- Returns:
- The event descriptor set.
-
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Returns the property descriptors.- Specified by:
getPropertyDescriptors
in interfacejava.beans.BeanInfo
- Overrides:
getPropertyDescriptors
in classjava.beans.SimpleBeanInfo
- Returns:
- The property descriptors.
-
getIcon
public java.awt.Image getIcon(int icon)
Returns the icon image for a KeyedFile bean.- Specified by:
getIcon
in interfacejava.beans.BeanInfo
- Overrides:
getIcon
in classjava.beans.SimpleBeanInfo
- Returns:
- The icon image.
-
-