public abstract class AbstractNamedObject extends java.lang.Object implements NamedObject
AbstractNamedObject
has a name and tree position source and
provides an icon for display. AbstractNamedObject
is the super class
of FaceObject
and AnimationObject
.Modifier | Constructor and Description |
---|---|
protected |
AbstractNamedObject(java.lang.String path)
Create a AbstractNamedObject.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NamedObject o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPath()
Get the path of this AbstractNamedObject.
|
int |
hashCode() |
void |
setPath(java.lang.String path)
Set the path of this AbstractNamedObject.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDisplayIconName, getName
protected AbstractNamedObject(@NotNull java.lang.String path)
path
- PathgetPath()
,
setPath(String)
@NotNull public java.lang.String getPath()
getPath
in interface NamedObject
NamedObject.setPath(String)
public void setPath(@NotNull java.lang.String path)
setPath
in interface NamedObject
path
- new path for this AbstractNamedObjectNamedObject.getPath()
public int compareTo(@NotNull NamedObject o)
compareTo
in interface java.lang.Comparable<NamedObject>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in interface NamedObject
toString
in class java.lang.Object