org.grinvin.list

Interface HasName

Known Implementing Classes:
GraphListElement, WorksheetModel, WorksheetWindowModel

public interface HasName

Interface implemented by all objects (mostly lists) that support setName and getName.

Method Summary

String
getName()
Get the name of this object.
boolean
isNameEditable()
Is the name of this object editable.
void
setName(String name)
Set the name of this object.

Method Details

getName

public String getName()
Get the name of this object.
Returns:
the name of the object

isNameEditable

public boolean isNameEditable()
Is the name of this object editable.
Returns:
true if the name can be changed with the method setName.

setName

public void setName(String name)
Set the name of this object.
Parameters:
name - the new name