public abstract class AbstractAnimationObjects extends AbstractNamedObjects<AnimationObject> implements AnimationObjects
AnimationObjects
implementations.Modifier | Constructor and Description |
---|---|
protected |
AbstractAnimationObjects(java.lang.String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnimationObject(@NotNull java.lang.String animName,
@NotNull java.lang.String list,
@NotNull java.lang.String path)
Adds a new animation object.
|
containsKey, get, getName, getTreeRoot, iterator, put, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsKey, get, getName, getTreeRoot, iterator, size
protected AbstractAnimationObjects(java.lang.String name)
name
- the localized name of the object type, e.g. used in dialogspublic void addAnimationObject(@NotNull @NotNull java.lang.String animName, @NotNull @NotNull java.lang.String list, @NotNull @NotNull java.lang.String path) throws DuplicateAnimationException, IllegalAnimationException
addAnimationObject
in interface AnimationObjects
animName
- name of the animation object to addlist
- String with animation list datapath
- Path relative to the arch directoryDuplicateAnimationException
- in case the animation was not uniqueIllegalAnimationException
- if the animation cannot be added