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(@NotNull java.lang.String path)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NotNull NamedObject o) |
boolean |
equals(@Nullable java.lang.Object obj) |
@NotNull java.lang.String |
getPath()
Get the path of this AbstractNamedObject.
|
int |
hashCode() |
void |
setPath(@NotNull 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 @NotNull java.lang.String path)
path
- PathgetPath()
,
setPath(String)
@NotNull public @NotNull java.lang.String getPath()
NamedObject
getPath
in interface NamedObject
NamedObject.setPath(String)
public void setPath(@NotNull @NotNull java.lang.String path)
NamedObject
setPath
in interface NamedObject
path
- new path for this AbstractNamedObjectNamedObject.getPath()
public int compareTo(@NotNull @NotNull NamedObject o)
compareTo
in interface java.lang.Comparable<NamedObject>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(@Nullable @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