public abstract class AnnotatedObject extends java.lang.Object implements Annotated
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CAPTION_PROPERTY
The caption property name ("caption").
|
static java.lang.String |
DESCRIPTION_PROPERTY
The long description property name ("description").
|
| Constructor and Description |
|---|
AnnotatedObject() |
| Modifier and Type | Method and Description |
|---|---|
MutableAttributeMap<java.lang.Object> |
getAttributes()
Returns a attribute map containing the attributes annotating this object.
|
java.lang.String |
getCaption()
Returns a short summary of this object, suitable for display as an icon caption or tool tip.
|
java.lang.String |
getDescription()
Returns a longer, more detailed description of this object.
|
void |
setCaption(java.lang.String caption)
Sets the short description (suitable for display in a tooltip).
|
void |
setDescription(java.lang.String description)
Sets the long description.
|
public static final java.lang.String CAPTION_PROPERTY
public static final java.lang.String DESCRIPTION_PROPERTY
public java.lang.String getCaption()
AnnotatedgetCaption in interface Annotatedpublic java.lang.String getDescription()
AnnotatedgetDescription in interface Annotatedpublic MutableAttributeMap<java.lang.Object> getAttributes()
AnnotatedgetAttributes in interface Annotatedpublic void setCaption(java.lang.String caption)
caption - the captionpublic void setDescription(java.lang.String description)
description - the long description