com.toedter.components
Class GenericBeanInfo

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

public class GenericBeanInfo
extends java.beans.SimpleBeanInfo

A generic bean info class use by all bean infos of the JCalendar bean suite.

Version:
1.2
Author:
Kai Toedter

Field Summary
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
GenericBeanInfo(java.lang.String bean, boolean registerLocaleEditor)
          Constructs a new BeanInfo class for the JDayChooser bean.
 
Method Summary
 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 class for the JDayChooser bean.

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.

Parameters:
iconKind - the kind of requested icon
Returns:
the icon image


Copyright © 1999 - 2004 Kai Toedter.