|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NamedObject is an interface implemented by each object that can be placed into a Folder, such as Histograms and other Folders. Named objects typically have peers which are created in an environment specific way, for example to provide an interface to a GUI environment when they are being used inside of a GUI application.
Histogram
,
Folder
Inner Class Summary | |
static class |
NamedObject.RenameException
Exception thrown in case of a rename error |
Method Summary | |
void |
delete()
Delete the object (NamedObjects are always stored in folders, so they are not automatically garbage collected unless they are deleted, or one of their predecesor Folders is deleted). |
Folder |
getFolder()
Get the folder that contains this object |
java.lang.String |
getName()
Get name of this object |
void |
rename(java.lang.String newName)
Changes the name of an object |
Method Detail |
public java.lang.String getName()
public Folder getFolder()
public void delete()
public void rename(java.lang.String newName) throws NamedObject.RenameException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |