Class GenericBeanInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.Image iconColor16
      16x16 color icon.
      protected java.awt.Image iconColor32
      32x32 color icon.
      protected java.awt.Image iconMono16
      16x16 mono icon.
      protected java.awt.Image iconMono32
      32x32 mono icon.
      • Fields inherited from interface java.beans.BeanInfo

        ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericBeanInfo​(java.lang.String bean, boolean registerLocaleEditor)
      Constructs a new BeanInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Image getIcon​(int iconKind)
      This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
      • Methods inherited from class java.beans.SimpleBeanInfo

        getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, getPropertyDescriptors, loadImage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • iconColor16

        protected java.awt.Image iconColor16
        16x16 color icon.
      • iconColor32

        protected java.awt.Image iconColor32
        32x32 color icon.
      • iconMono16

        protected java.awt.Image iconMono16
        16x16 mono icon.
      • iconMono32

        protected java.awt.Image iconMono32
        32x32 mono icon.
    • Constructor Detail

      • GenericBeanInfo

        public GenericBeanInfo​(java.lang.String bean,
                               boolean registerLocaleEditor)
        Constructs a new BeanInfo.
    • Method Detail

      • getIcon

        public java.awt.Image getIcon​(int iconKind)
        This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
        Specified by:
        getIcon in interface java.beans.BeanInfo
        Overrides:
        getIcon in class java.beans.SimpleBeanInfo
        Parameters:
        iconKind - the kind of requested icon
        Returns:
        the icon image