abstractpublic class DesignPropertyDescriptor (Code)
This class is a property descriptor. It contains all information about given DesignComponent's PropertyDescriptor
to create property in the Properties Window. It is possible to bind more that one DesignComponent's PropertyDescriptor \
in one DesignPropertyDescryptor. In this case single property in the Properties Window will represent more
that one DesignComponent's PropertyDescriptor.
getPropertyToolTip() Returns tool tip shown for property created based on this DesignPropertyDescriptor in the Properties Window.
abstractpublic void
init(DesignComponent component) This method is executed when PropertiesPresenter which contains this DesignPropertyDesciptor is
attached to the DesignComponet.
Default implementation of DesignPropertyDescriptor. To map one DesignPropertyDescriptor with
more that one DesignComponent's PropertyDescriptors assign more that one PropertyDescriptor name to the
propertyNames parameter. Creates DesignPropertyDescriptor based on given parameters.
Parameters: displayName - display name of this property created based on this DesignPropertyDescriptor.This String represent display name of the property shown in the Properties Window. Parameters: toolTip - tool tip shown for this property in the Properties Window. Parameters: category - property's category Parameters: propertyEditor - custom property editor Parameters: propertyEditorType - type of property ediotr (for example Boolena.class, String.class) Parameters: propertyNames - names of the PropertyDescriptors connected with this DesignPropertyDescriptor instance of DesignPropertyDescriptor
Returns display name of this property created based on this DesignPropertyDescriptor.
This String represent display name of the property shown in the Properties Window.
display name
Returns list of the names of the PropertyDescriptors connected with this DesignPropertyDescriptor.
NOTE: First name of this list is a primary name of the property created based on this DesignPropertyDescriptor.
list of properties names
This method is executed when PropertiesPresenter which contains this DesignPropertyDesciptor is
attached to the DesignComponet.
Parameters: component - DesignComponent connected with this DesignPropertyDEscriptor