com.ibm.as400.access

Class CommandBeanInfo

  • java.lang.Object
    • java.beans.SimpleBeanInfo
      • com.ibm.as400.access.CommandBeanInfo
  • All Implemented Interfaces:
    java.beans.BeanInfo


    public class CommandBeanInfo
    extends java.beans.SimpleBeanInfo
    The CommandBeanInfo class provides bean information for the Command class.
    • Field Summary

      • Fields inherited from interface java.beans.BeanInfo

        ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
    • Constructor Summary

      Constructors 
      Constructor and Description
      CommandBeanInfo() 
    • 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 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.
      • 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

      • CommandBeanInfo

        public CommandBeanInfo()
    • Method Detail

      • getBeanDescriptor

        public java.beans.BeanDescriptor getBeanDescriptor()
        Returns the bean descriptor.
        Specified by:
        getBeanDescriptor in interface java.beans.BeanInfo
        Overrides:
        getBeanDescriptor in class java.beans.SimpleBeanInfo
        Returns:
        The bean descriptor.
      • getDefaultEventIndex

        public int getDefaultEventIndex()
        Returns the index of the default event.
        Specified by:
        getDefaultEventIndex in interface java.beans.BeanInfo
        Overrides:
        getDefaultEventIndex in class java.beans.SimpleBeanInfo
        Returns:
        Zero (0), the index to the property change event.
      • getDefaultPropertyIndex

        public int getDefaultPropertyIndex()
        Returns the index of the default property.
        Specified by:
        getDefaultPropertyIndex in interface java.beans.BeanInfo
        Overrides:
        getDefaultPropertyIndex in class java.beans.SimpleBeanInfo
        Returns:
        Zero (0), the index to the path property.
      • getEventSetDescriptors

        public java.beans.EventSetDescriptor[] getEventSetDescriptors()
        Returns the descriptors for all events.
        Specified by:
        getEventSetDescriptors in interface java.beans.BeanInfo
        Overrides:
        getEventSetDescriptors in class java.beans.SimpleBeanInfo
        Returns:
        The descriptors for all events.
      • getPropertyDescriptors

        public java.beans.PropertyDescriptor[] getPropertyDescriptors()
        Returns the descriptors for all properties.
        Specified by:
        getPropertyDescriptors in interface java.beans.BeanInfo
        Overrides:
        getPropertyDescriptors in class java.beans.SimpleBeanInfo
        Returns:
        The descriptors for all properties.
      • getIcon

        public java.awt.Image getIcon(int icon)
        Returns an Image for this bean's icon.
        Specified by:
        getIcon in interface java.beans.BeanInfo
        Overrides:
        getIcon in class java.beans.SimpleBeanInfo
        Parameters:
        icon - The desired icon size and color.
        Returns:
        The Image for the icon.