Class GenericBeanInfo

java.lang.Object
java.beans.SimpleBeanInfo
com.toedter.components.GenericBeanInfo
All Implemented Interfaces:
BeanInfo
Direct Known Subclasses:
DateChooserPanelBeanInfo, JCalendarBeanInfo, JDateChooserBeanInfo, JDayChooserBeanInfo, JLocaleChooserBeanInfo, JMonthChooserBeanInfo, JSpinFieldBeanInfo, JYearChooserBeanInfo

public class GenericBeanInfo extends SimpleBeanInfo
A generic bean info class use by all bean infos of the JCalendar bean suite.
Version:
$LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
Author:
Kai Toedter
  • Field Details

    • iconColor16

      protected Image iconColor16
      16x16 color icon.
    • iconColor32

      protected Image iconColor32
      32x32 color icon.
    • iconMono16

      protected Image iconMono16
      16x16 mono icon.
    • iconMono32

      protected Image iconMono32
      32x32 mono icon.
  • Constructor Details

    • GenericBeanInfo

      public GenericBeanInfo(String bean, boolean registerLocaleEditor)
      Constructs a new BeanInfo.
  • Method Details

    • getIcon

      public 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 BeanInfo
      Overrides:
      getIcon in class SimpleBeanInfo
      Parameters:
      iconKind - the kind of requested icon
      Returns:
      the icon image