Package com.toedter.components
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
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
FieldsModifier and TypeFieldDescriptionprotected Image16x16 color icon.protected Image32x32 color icon.protected Image16x16 mono icon.protected Image32x32 mono icon.Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 -
Constructor Summary
ConstructorsConstructorDescriptionGenericBeanInfo(String bean, boolean registerLocaleEditor) Constructs a new BeanInfo. -
Method Summary
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, getPropertyDescriptors, loadImage
-
Field Details
-
iconColor16
16x16 color icon. -
iconColor32
32x32 color icon. -
iconMono16
16x16 mono icon. -
iconMono32
32x32 mono icon.
-
-
Constructor Details
-
GenericBeanInfo
Constructs a new BeanInfo.
-
-
Method Details
-
getIcon
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.- Specified by:
getIconin interfaceBeanInfo- Overrides:
getIconin classSimpleBeanInfo- Parameters:
iconKind- the kind of requested icon- Returns:
- the icon image
-