public class DropletBeanInfo
extends java.beans.SimpleBeanInfo
A base class for all the droplet BeanInfo classes.
Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
DropletBeanInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static java.lang.String CLASS_VERSION
public static final java.lang.String PARAM_DESCRIPTORS_NAME
public static final java.lang.String FUNCTIONAL_COMPONENT_CATEGORY_NAME
public static final java.lang.String FEATURE_COMPONENT_CATEGORY_NAME
public static final java.lang.String PAGE_WIZARD_NAME
public static final java.lang.String FUNCTIONAL_COMPONENT_CATEGORY
public static final java.lang.String FEATURE_COMPONENT_CATEGORY
public static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass, java.lang.String pPageWizardClassName, java.lang.String pShortDescription, ParamDescriptor[] pParamDescriptors)
pClass
- the droplet class for which the BeanDescriptor is
being createdpPageWizardClassname
- the class name of the page wizard
which can be used to create/edit the dropletpShortDescription
- the short description of the dropletpParamDescriptors
- an array of ParamDescriptors describing
the droplet parameterspublic static java.beans.BeanDescriptor createBeanDescriptor(java.lang.Class pClass, java.lang.String pPageWizardClassName, java.lang.String pShortDescription, ParamDescriptor[] pParamDescriptors, java.lang.String pFunctionalComponentCategory)
pClass
- the droplet class for which the BeanDescriptor is
being createdpPageWizardClassname
- the class name of the page wizard
which can be used to create/edit the dropletpShortDescription
- the short description of the dropletpParamDescriptors
- an array of ParamDescriptors describing
the droplet parameterspFunctionalComponentCategory
- the component functional category this bean should be organized inpublic 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)
pClass
- the droplet class for which the BeanDescriptor is
being createdpPageWizardClassname
- the class name of the page wizard
which can be used to create/edit the dropletpShortDescription
- the short description of the dropletpParamDescriptors
- an array of ParamDescriptors describing
the droplet parameterspFunctionalComponentCategory
- the component functional category this bean should be organized inpFeatureComponentCategory
- the component feature category this bean should be organized inpublic static ParamDescriptor[] merge(ParamDescriptor[] pArray1, ParamDescriptor[] pArray2)
public java.awt.Image getIcon(int iconKind)
getIcon
in interface java.beans.BeanInfo
getIcon
in class java.beans.SimpleBeanInfo
iconKind
- the type of icon desired.BeanInfo