public class FeatureDescriptor
extends java.lang.Object
Constructor and Description |
---|
FeatureDescriptor()
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration<java.lang.String> |
attributeNames()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getName()
|
java.lang.String |
getShortDescription()
|
java.lang.Object |
getValue(java.lang.String attributeName)
|
boolean |
isExpert()
|
boolean |
isHidden()
|
boolean |
isPreferred()
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setExpert(boolean expert)
|
void |
setHidden(boolean hidden)
|
void |
setName(java.lang.String name)
|
void |
setPreferred(boolean preferred)
|
void |
setShortDescription(java.lang.String text)
|
void |
setValue(java.lang.String attributeName,
java.lang.Object value)
|
public FeatureDescriptor()
public void setValue(java.lang.String attributeName, java.lang.Object value)
attributeName
- The name of the attribute to set a value with.value
- The value to set.public java.lang.Object getValue(java.lang.String attributeName)
attributeName
- The name of the attribute to get a value for.public java.util.Enumeration<java.lang.String> attributeNames()
Enumeration
.public void setShortDescription(java.lang.String text)
text
- The description to set.public void setName(java.lang.String name)
name
- The name to set.public void setDisplayName(java.lang.String displayName)
displayName
- The display name to set.public java.lang.String getShortDescription()
getDisplayName()
if not set.