wt.clients.calendar
Class CalendarBeanInfo

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended bywt.clients.calendar.CalendarBeanInfo
All Implemented Interfaces:
BeanInfo

public class CalendarBeanInfo
extends SimpleBeanInfo

BeanInfo for Calendar.


Field Summary
private static Class beanClass
           
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
CalendarBeanInfo()
          Constructs a CalendarBeanInfo object.
 
Method Summary
 BeanInfo[] getAdditionalBeanInfo()
          Gets a BeanInfo for the superclass of this bean.
 BeanDescriptor getBeanDescriptor()
          Gets the SymantecBeanDescriptor for this bean.
 int getDefaultPropertyIndex()
          Returns the index of the property expected to be changed most often by the designer.
 Image getIcon(int iconKind)
          Gets an image that may be used to visually represent this bean (in the toolbar, on a form, etc).
 MethodDescriptor[] getMethodDescriptors()
          Gets an array of descriptions of the methods used for "connections" by Visual Café's Interaction Wizard.
 PropertyDescriptor[] getPropertyDescriptors()
          Returns descriptions of this bean's properties.
 
Methods inherited from class java.beans.SimpleBeanInfo
getDefaultEventIndex, getEventSetDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanClass

private static final Class beanClass
Constructor Detail

CalendarBeanInfo

public CalendarBeanInfo()
Constructs a CalendarBeanInfo object.

Method Detail

getAdditionalBeanInfo

public BeanInfo[] getAdditionalBeanInfo()
Gets a BeanInfo for the superclass of this bean.

Returns:
BeanInfo[] containing this bean's superclass BeanInfo

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Gets the SymantecBeanDescriptor for this bean.

Returns:
an object of type SymantecBeanDescriptor
See Also:
SymantecBeanDescriptor

getIcon

public Image getIcon(int iconKind)
Gets an image that may be used to visually represent this bean (in the toolbar, on a form, etc).

Parameters:
iconKind - the type of icon desired, one of: BeanInfo.ICON_MONO_16x16, BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_32x32, or BeanInfo.ICON_COLOR_32x32.
Returns:
an image for this bean, always color even if requested monochrome
See Also:
BeanInfo.ICON_MONO_16x16, BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_32x32, BeanInfo.ICON_COLOR_32x32

getMethodDescriptors

public MethodDescriptor[] getMethodDescriptors()
Gets an array of descriptions of the methods used for "connections" by Visual Café's Interaction Wizard. Included in each method description is a CONNECTIONS ConnectionDescriptor.

Returns:
method descriptions for this bean
See Also:
ConnectionDescriptor.CONNECTIONS

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Returns descriptions of this bean's properties.


getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Returns the index of the property expected to be changed most often by the designer.