Package net.sf.gridarta.model.anim
Class AbstractAnimationObjects
- java.lang.Object
-
- net.sf.gridarta.model.data.AbstractNamedObjects<AnimationObject>
-
- net.sf.gridarta.model.anim.AbstractAnimationObjects
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<AnimationObject>,AnimationObjects,NamedObjects<AnimationObject>
- Direct Known Subclasses:
DefaultAnimationObjects
public abstract class AbstractAnimationObjects extends AbstractNamedObjects<AnimationObject> implements AnimationObjects
Abstract base class forAnimationObjectsimplementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAnimationObjects(java.lang.String name)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnimationObject(@NotNull java.lang.String animName, @NotNull java.lang.String list, @NotNull java.lang.String path)Adds a new animation object.-
Methods inherited from class net.sf.gridarta.model.data.AbstractNamedObjects
containsKey, get, getName, getTreeRoot, iterator, put, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.gridarta.model.data.NamedObjects
containsKey, get, getName, getTreeRoot, iterator, size
-
-
-
-
Method Detail
-
addAnimationObject
public void addAnimationObject(@NotNull @NotNull java.lang.String animName, @NotNull @NotNull java.lang.String list, @NotNull @NotNull java.lang.String path) throws DuplicateAnimationException, IllegalAnimationExceptionAdds a new animation object.- Specified by:
addAnimationObjectin interfaceAnimationObjects- Parameters:
animName- name of the animation object to addlist- String with animation list datapath- Path relative to the arch directory- Throws:
DuplicateAnimationException- in case the animation was not uniqueIllegalAnimationException- if the animation cannot be added
-
-