atg.droplet
Class DropletBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by atg.droplet.DropletBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo
Direct Known Subclasses:
BeanPropertyBeanInfo, CacheBeanInfo, CompareBeanInfo, ComponentExistsBeanInfo, CurrencyConversionFormatterBeanInfo, CurrencyFormatterBeanInfo, ErrorMessageForEachBeanInfo, ForBeanInfo, ForEachBeanInfo, FormatBeanInfo, IsEmptyBeanInfo, IsNullBeanInfo, NodeForEachBeanInfo, NodeMatchBeanInfo, ProtocolChangeBeanInfo, RangeBeanInfo, RedirectBeanInfo, SQLQueryForEachBeanInfo, SQLQueryRangeBeanInfo, SwitchBeanInfo, TableForEachBeanInfo, TableRangeBeanInfo, XMLToDOMBeanInfo, XMLTransformBeanInfo

public class DropletBeanInfo
extends java.beans.SimpleBeanInfo

A base class for all the droplet BeanInfo classes.


Field Summary
static java.lang.String CLASS_VERSION
           
static java.lang.String FEATURE_COMPONENT_CATEGORY
           
static java.lang.String FEATURE_COMPONENT_CATEGORY_NAME
           
static java.lang.String FUNCTIONAL_COMPONENT_CATEGORY
           
static java.lang.String FUNCTIONAL_COMPONENT_CATEGORY_NAME
           
static java.lang.String PAGE_WIZARD_NAME
           
static java.lang.String PARAM_DESCRIPTORS_NAME
           
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
DropletBeanInfo()
           
 
Method Summary
static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass, java.lang.String pPageWizardClassName, java.lang.String pShortDescription, ParamDescriptor[] pParamDescriptors)
          Creates the BeanInfo's BeanDescriptor.
static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass, java.lang.String pPageWizardClassName, java.lang.String pShortDescription, ParamDescriptor[] pParamDescriptors, java.lang.String pFunctionalComponentCategory)
          Creates the BeanInfo's BeanDescriptor.
static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass, java.lang.String pPageWizardClassName, java.lang.String pShortDescription, ParamDescriptor[] pParamDescriptors, java.lang.String pFunctionalComponentCategory, java.lang.String pFeatureComponentCategory)
          Creates the BeanInfo's BeanDescriptor.
 java.awt.Image getIcon(int iconKind)
          Gets an image that may be used to visually represent this bean (in the toolbar, on a form, etc).
static ParamDescriptor[] merge(ParamDescriptor[] pArray1, ParamDescriptor[] pArray2)
          Merges two ParamDescriptor arrays into a new array.
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION

PARAM_DESCRIPTORS_NAME

public static final java.lang.String PARAM_DESCRIPTORS_NAME
See Also:
Constant Field Values

FUNCTIONAL_COMPONENT_CATEGORY_NAME

public static final java.lang.String FUNCTIONAL_COMPONENT_CATEGORY_NAME
See Also:
Constant Field Values

FEATURE_COMPONENT_CATEGORY_NAME

public static final java.lang.String FEATURE_COMPONENT_CATEGORY_NAME
See Also:
Constant Field Values

PAGE_WIZARD_NAME

public static final java.lang.String PAGE_WIZARD_NAME
See Also:
Constant Field Values

FUNCTIONAL_COMPONENT_CATEGORY

public static final java.lang.String FUNCTIONAL_COMPONENT_CATEGORY
See Also:
Constant Field Values

FEATURE_COMPONENT_CATEGORY

public static final java.lang.String FEATURE_COMPONENT_CATEGORY
Constructor Detail

DropletBeanInfo

public DropletBeanInfo()
Method Detail

createBeanDescriptor

public static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass,
                                                             java.lang.String pPageWizardClassName,
                                                             java.lang.String pShortDescription,
                                                             ParamDescriptor[] pParamDescriptors)
Creates the BeanInfo's BeanDescriptor.

Parameters:
pClass - the droplet class for which the BeanDescriptor is being created
pPageWizardClassname - the class name of the page wizard which can be used to create/edit the droplet
pShortDescription - the short description of the droplet
pParamDescriptors - an array of ParamDescriptors describing the droplet parameters

createBeanDescriptor

public static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass,
                                                             java.lang.String pPageWizardClassName,
                                                             java.lang.String pShortDescription,
                                                             ParamDescriptor[] pParamDescriptors,
                                                             java.lang.String pFunctionalComponentCategory)
Creates the BeanInfo's BeanDescriptor.

Parameters:
pClass - the droplet class for which the BeanDescriptor is being created
pPageWizardClassname - the class name of the page wizard which can be used to create/edit the droplet
pShortDescription - the short description of the droplet
pParamDescriptors - an array of ParamDescriptors describing the droplet parameters
pFunctionalComponentCategory - the component functional category this bean should be organized in

createBeanDescriptor

public static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass,
                                                             java.lang.String pPageWizardClassName,
                                                             java.lang.String pShortDescription,
                                                             ParamDescriptor[] pParamDescriptors,
                                                             java.lang.String pFunctionalComponentCategory,
                                                             java.lang.String pFeatureComponentCategory)
Creates the BeanInfo's BeanDescriptor.

Parameters:
pClass - the droplet class for which the BeanDescriptor is being created
pPageWizardClassname - the class name of the page wizard which can be used to create/edit the droplet
pShortDescription - the short description of the droplet
pParamDescriptors - an array of ParamDescriptors describing the droplet parameters
pFunctionalComponentCategory - the component functional category this bean should be organized in
pFeatureComponentCategory - the component feature category this bean should be organized in

merge

public static ParamDescriptor[] merge(ParamDescriptor[] pArray1,
                                      ParamDescriptor[] pArray2)
Merges two ParamDescriptor arrays into a new array.


getIcon

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

Specified by:
getIcon in interface java.beans.BeanInfo
Overrides:
getIcon in class java.beans.SimpleBeanInfo
Parameters:
iconKind - the type of icon desired.
See Also:
BeanInfo