类 GenericBeanInfo

  • 所有已实现的接口:
    java.beans.BeanInfo
    直接已知子类:
    JLocaleChooserBeanInfo, JSpinFieldBeanInfo

    public class GenericBeanInfo
    extends java.beans.SimpleBeanInfo
    A generic bean info class use by all bean infos of the JCalendar bean suite.
    版本:
    $LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
    作者:
    Kai Toedter
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      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.
      • 从接口继承的字段 java.beans.BeanInfo

        ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
    • 构造器概要

      构造器 
      构造器 说明
      GenericBeanInfo​(java.lang.String bean, boolean registerLocaleEditor)
      Constructs a new BeanInfo.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.awt.Image getIcon​(int iconKind)
      This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
      • 从类继承的方法 java.beans.SimpleBeanInfo

        getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, getPropertyDescriptors, loadImage
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • 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.
    • 构造器详细资料

      • GenericBeanInfo

        public GenericBeanInfo​(java.lang.String bean,
                               boolean registerLocaleEditor)
        Constructs a new BeanInfo.
    • 方法详细资料

      • 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.
        指定者:
        getIcon 在接口中 java.beans.BeanInfo
        覆盖:
        getIcon 在类中 java.beans.SimpleBeanInfo
        参数:
        iconKind - the kind of requested icon
        返回:
        the icon image