public class SerializableFeatureDescriptor
extends java.beans.FeatureDescriptor
implements java.io.Serializable
Subclass of java.beans.FeatureDescriptor with Serialization support.
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
BUNDLE_ATTRIBUTE_NAME
This is the name of the feature descriptor attribute used to define
 the resource bundle name for the resources used to localize information
 found in this descriptor 
 | 
static java.lang.String | 
CLASS_VERSION  | 
static java.lang.String | 
LOCALE_ATTRIBUTE_NAME  | 
| Constructor and Description | 
|---|
SerializableFeatureDescriptor()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
copyFeatureDescriptor(java.beans.FeatureDescriptor pDesc)
Clone a set of attributes from some other FeatureDescriptor 
 | 
protected java.util.Locale | 
getCurrentLocale()
Get the current locale. 
 | 
java.lang.String | 
getDisplayName()
Returns the potentially localized display name of the property. 
 | 
java.lang.String | 
getDisplayName(java.util.Locale pLocale)
Returns the potentially localized display name of the property. 
 | 
java.lang.String | 
getDisplayNameResource()  | 
java.lang.String | 
getDisplaySortString()
Get a sort key String for a case-insensitive sort by display name. 
 | 
java.lang.String | 
getLocalizedDisplayName(java.util.Locale pLocale)
Returns the localized display name of the property. 
 | 
java.util.ResourceBundle | 
getLocalizedResourceBundle()
Returns the resource bundle for the user's locale for this feature descriptor 
 | 
java.util.ResourceBundle | 
getLocalizedResourceBundle(java.util.Locale pLocale)
Returns the resource bundle for the specified locale for this feature
 descriptor. 
 | 
java.util.ResourceBundle | 
getResourceBundle()
Returns the resource bundle for the server's locale for this feature descriptor 
 | 
java.lang.String | 
getShortDescription()
Returns the potentially localized short description 
 | 
java.lang.String | 
getShortDescriptionResource()  | 
java.lang.String | 
getSortString()
Get a sort key String for a case-insensitive sort by feature name. 
 | 
void | 
setDisplayNameResource(java.lang.String pDisplayNameResource)
Sets the property DisplayNameResource. 
 | 
void | 
setShortDescriptionResource(java.lang.String pShortDescriptionResource)
Sets the property ShortDescription. 
 | 
java.lang.String | 
toString()
Return this FeatureDescriptor as a String 
 | 
public static java.lang.String CLASS_VERSION
public static final java.lang.String BUNDLE_ATTRIBUTE_NAME
public static final java.lang.String LOCALE_ATTRIBUTE_NAME
public java.lang.String toString()
toString in class java.beans.FeatureDescriptorpublic java.lang.String getDisplaySortString()
public java.lang.String getSortString()
public java.lang.String getDisplayName()
getDisplayName in class java.beans.FeatureDescriptorpublic java.lang.String getDisplayName(java.util.Locale pLocale)
public java.lang.String getLocalizedDisplayName(java.util.Locale pLocale)
pLocale - the locale to return the display name for.public void setDisplayNameResource(java.lang.String pDisplayNameResource)
pDisplayNameResource - new value to setpublic java.lang.String getDisplayNameResource()
public java.lang.String getShortDescription()
getShortDescription in class java.beans.FeatureDescriptorpublic void setShortDescriptionResource(java.lang.String pShortDescriptionResource)
pShortDescriptionResource - new value to setpublic java.lang.String getShortDescriptionResource()
public java.util.ResourceBundle getLocalizedResourceBundle()
public java.util.ResourceBundle getLocalizedResourceBundle(java.util.Locale pLocale)
pLocale - the locale to get the resource bundle for.public java.util.ResourceBundle getResourceBundle()
protected void copyFeatureDescriptor(java.beans.FeatureDescriptor pDesc)
protected java.util.Locale getCurrentLocale()