Package com.toedter.components
Class GenericBeanInfo
- java.lang.Object
-
- java.beans.SimpleBeanInfo
-
- com.toedter.components.GenericBeanInfo
-
- All Implemented Interfaces:
java.beans.BeanInfo
- Direct Known Subclasses:
DateChooserPanelBeanInfo
,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:
- $LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
- Author:
- Kai Toedter
-
-
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.
-
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.
-
-
-
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 interfacejava.beans.BeanInfo
- Overrides:
getIcon
in classjava.beans.SimpleBeanInfo
- Parameters:
iconKind
- the kind of requested icon- Returns:
- the icon image
-
-