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, waitgetDisplayIconName, getNameprotected AbstractNamedObject(@NotNull
@NotNull java.lang.String path)
path - PathgetPath(),
setPath(String)@NotNull public @NotNull java.lang.String getPath()
NamedObjectgetPath in interface NamedObjectNamedObject.setPath(String)public void setPath(@NotNull
@NotNull java.lang.String path)
NamedObjectsetPath in interface NamedObjectpath - 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.Objectpublic boolean equals(@Nullable
@Nullable java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in interface NamedObjecttoString in class java.lang.Object