com.toedter.components

Class GenericBeanInfo

Known Direct 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 Summary

protected Image
iconColor16
16x16 color icon.
protected Image
iconColor32
32x32 color icon.
protected Image
iconMono16
16x16 mono icon.
protected Image
iconMono32
32x32 mono icon.

Constructor Summary

GenericBeanInfo(String bean, boolean registerLocaleEditor)
Constructs a new BeanInfo.

Method Summary

Image
getIcon(int iconKind)
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.

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.
Parameters:
iconKind - the kind of requested icon
Returns:
the icon image

Copyright B) 1999 - 2006 Kai Toedter.