|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DescriptionObject
An object that has a name and a description.
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a clone of this object. |
java.lang.String |
getDescription()
Gets the default description of this Object. |
java.lang.String |
getDescriptionText()
Gets text that can be used to describe this object. |
java.lang.String |
getDisplayText()
Gets text that can be used to describe this object. |
java.lang.String |
getName()
Gets the name of this Object. |
void |
setDescription(java.lang.String description)
Sets the default description of this Object. |
void |
setName(java.lang.String name)
Sets the name of this Object. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - If the cloning of one of the contained members failedjava.lang.String getName()
void setName(java.lang.String name)
name - The new name (may not be null)java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The new description or nulljava.lang.String getDisplayText()
getDescription() method.
getDisplayText in interface Displayablejava.lang.String getDescriptionText()
getDescription() method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||