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
|
java.lang.String |
getDisplayName()
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.util.ResourceBundle |
getLocalizedResourceBundle()
Returns the resource bundle for the user's 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.FeatureDescriptor
public java.lang.String getDisplaySortString()
public java.lang.String getSortString()
public java.lang.String getDisplayName()
getDisplayName
in class java.beans.FeatureDescriptor
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.FeatureDescriptor
public void setShortDescriptionResource(java.lang.String pShortDescriptionResource)
pShortDescriptionResource
- new value to setpublic java.lang.String getShortDescriptionResource()
public java.util.ResourceBundle getLocalizedResourceBundle()
public java.util.ResourceBundle getResourceBundle()
protected void copyFeatureDescriptor(java.beans.FeatureDescriptor pDesc)