|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseAttributeDescriptorInterface
Base AttributeDescriptorInterface defines a core API for AttributeDescriptors, AttributeGroups, and AttributeTypes. Each of these elements surface the same basic features:
Method Summary | |
---|---|
java.util.List |
getAttributeCustomizerContexts()
Returns a list of customizer contexts defined for this object. |
java.util.Map |
getAttributeCustomizers()
Returns a mapping of all of the customizers defined for this object. |
java.lang.String |
getConfigurationXML()
Return the XML which is used to configure or constrain this object. |
java.lang.String |
getCustomizer(java.lang.String context)
Return this object's customizer. |
java.lang.String |
getDescription(java.util.Locale locale)
Return the description of this object; this is the description which the user will see in a UI (User Interface) component. |
java.util.Map |
getDescriptions()
Returns a mapping of all of the descriptions defined for this object. |
java.lang.String |
getLabel(java.util.Locale locale)
Return the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
java.util.Map |
getLabels()
Returns a mapping of all of the labels defined for this object. |
java.lang.String |
getLargeIconURL(java.util.Locale locale)
Return a URL that contains the large icon representing this object. |
java.util.Map |
getLargeIconURLs()
Returns a mapping of all of the large icon URLs defined for this object. |
java.lang.String |
getName()
Return the name of this object. |
java.lang.String |
getSmallIconURL(java.util.Locale locale)
Return a URL that contains the small icon representing this object. |
java.util.Map |
getSmallIconURLs()
Returns a mapping of all of the small icon URLs defined for this object. |
void |
setConfigurationXML(java.lang.String configurationXML)
Assign XML which can be used to configure or constrain this object. |
void |
setCustomizer(java.lang.String context,
java.lang.String customizer)
Set the customizer for a specific context. |
void |
setDescription(java.util.Locale locale,
java.lang.String description)
Set the description of this object;this is the description which the user will see in a UI (User Interface) component. |
void |
setLabel(java.util.Locale locale,
java.lang.String label)
Set the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
void |
setLargeIconURL(java.util.Locale locale,
java.lang.String largeIconURL)
Set a locale-sensitive URL that contains the large icon representing this object. |
void |
setName(java.lang.String name)
Set the name of this object. |
void |
setSmallIconURL(java.util.Locale locale,
java.lang.String smallIconURL)
Set a locale-sensitive URL that contains the small icon representing this object. |
Method Detail |
---|
java.lang.String getName()
setName(String name)
void setName(java.lang.String name)
name
- object namegetName()
java.lang.String getLabel(java.util.Locale locale)
name
is returned.
locale
- the locale with which the label is associated.
This parameter may be null.
setLabel(Locale locale, String label)
void setLabel(java.util.Locale locale, java.lang.String label)
locale
- the locale with which the label is associated.
This parameter may be null.label
- the visible namegetLabel(Locale locale)
java.util.Map getLabels()
java.lang.String getDescription(java.util.Locale locale)
name
is returned.
locale
- the locale with which this description is associated.
This may be null.
setDescription(Locale locale, String description)
void setDescription(java.util.Locale locale, java.lang.String description)
locale
- the locale with which this description is associated.
This may be null.description
- description of the objectgetDescription(Locale locale)
java.util.Map getDescriptions()
java.lang.String getCustomizer(java.lang.String context)
context
- the context in which the customizer is instantiated/used;
it is a platform specification from EntityContextInterface
setCustomizer(String context, String customizer)
,
EntityContextInterface
void setCustomizer(java.lang.String context, java.lang.String customizer)
context
- the context in which the customizer is instantiated/used;
it is a platform specification from EntityContextInterface
customizer
- the name of the customizergetCustomizer(String context)
,
EntityContextInterface
java.util.Map getAttributeCustomizers()
java.util.List getAttributeCustomizerContexts()
java.lang.String getConfigurationXML()
setConfigurationXML(String configurationXML)
void setConfigurationXML(java.lang.String configurationXML)
configurationXML
- the XML configuration for this objectgetConfigurationXML()
java.lang.String getSmallIconURL(java.util.Locale locale)
locale
- the locale in which to express the small icon.
If no small icon URL is associated with the locale,
then the small icon URL
associated with the null locale is returned. If that
does not exist, then null is returned.
setSmallIconURL(Locale locale, String smallIconURL)
void setSmallIconURL(java.util.Locale locale, java.lang.String smallIconURL)
locale
- the locale in which to express the small icon.
This may be null.smallIconURL
- the icon's urlgetSmallIconURL(Locale locale)
java.util.Map getSmallIconURLs()
java.lang.String getLargeIconURL(java.util.Locale locale)
locale
- the locale in which to express the icon.
If no large icon URL is associated with the locale,
then the large icon URL
associated with the null locale is returned. If that
does not exist, then null is returned.
setLargeIconURL(Locale locale, String largeIconURL)
void setLargeIconURL(java.util.Locale locale, java.lang.String largeIconURL)
locale
- the locale in which to express the large icon.
This may be null.largeIconURL
- the icon's urlgetLargeIconURL(Locale locale)
java.util.Map getLargeIconURLs()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |