|
Gridarta Editor
|
Abstract base class for AnimationObjects implementations. More...
Inheritance diagram for net.sf.gridarta.model.anim.AbstractAnimationObjects:
Collaboration diagram for net.sf.gridarta.model.anim.AbstractAnimationObjects:Public Member Functions | |
| void | addAnimationObject (@NotNull final String animName, @NotNull final String list, @NotNull final String path) throws DuplicateAnimationException, IllegalAnimationException |
| Adds a new animation object. More... | |
Public Member Functions inherited from net.sf.gridarta.model.data.AbstractNamedObjects< E extends NamedObject > | |
| boolean | containsKey (@NotNull final String name) |
| E | get (@NotNull final String objectName) |
| String | getName () |
| NamedTreeNode< E > | getTreeRoot () |
| Iterator< E > | iterator () |
| int | size () |
Public Member Functions inherited from net.sf.gridarta.model.data.NamedObjects< E > | |
| boolean | containsKey ( @NotNull String name) |
| Check whether an object is defined. More... | |
| E | get ( @NotNull String objectName) |
| Gets a AbstractNamedObject. More... | |
| String | getName () |
| Returns the tree name. More... | |
| NamedTreeNode< E > | getTreeRoot () |
| Get the object tree root. More... | |
| Iterator< E > | iterator () |
| NamedObjects are iterated in Unicode (=case sensitive ASCII) order. More... | |
| int | size () |
| Get the number of objects. More... | |
Public Member Functions inherited from net.sf.gridarta.model.data.NamedObjects< E extends NamedObject > | |
| boolean | containsKey (@NotNull String name) |
| Check whether an object is defined. More... | |
| E | get (@NotNull String objectName) |
| Gets a AbstractNamedObject. More... | |
| String | getName () |
| Returns the tree name. More... | |
| NamedTreeNode< E > | getTreeRoot () |
| Get the object tree root. More... | |
| Iterator< E > | iterator () |
| NamedObjects are iterated in Unicode (=case sensitive ASCII) order. More... | |
| int | size () |
| Get the number of objects. More... | |
Protected Member Functions | |
| AbstractAnimationObjects (final String name) | |
| Creates a new instance. More... | |
Protected Member Functions inherited from net.sf.gridarta.model.data.AbstractNamedObjects< E extends NamedObject > | |
| AbstractNamedObjects (final String name) | |
| Create a NamedObjects instance. More... | |
| void | put (@NotNull final E object) throws IllegalNamedObjectException |
| Store a AbstractNamedObject. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
Abstract base class for AnimationObjects implementations.
Definition at line 31 of file AbstractAnimationObjects.java.
|
protected |
Creates a new instance.
| name | the localized name of the object type, e.g. used in dialogs |
Definition at line 42 of file AbstractAnimationObjects.java.
| void net.sf.gridarta.model.anim.AbstractAnimationObjects.addAnimationObject | ( | @NotNull final String | animName, |
| @NotNull final String | list, | ||
| @NotNull final String | path | ||
| ) | throws DuplicateAnimationException, IllegalAnimationException |
Adds a new animation object.
| animName | name of the animation object to add |
| list | String with animation list data |
| path | Path relative to the arch directory |
| DuplicateAnimationException | in case the animation was not unique |
| IllegalAnimationException | if the animation cannot be added |
Implements net.sf.gridarta.model.anim.AnimationObjects.
Definition at line 55 of file AbstractAnimationObjects.java.
References net.sf.gridarta.model.data.AbstractNamedObjects< E extends NamedObject >.containsKey(), and net.sf.gridarta.model.data.AbstractNamedObjects< E extends NamedObject >.put().
Here is the call graph for this function:
|
staticprivate |
The serial version UID.
Definition at line 36 of file AbstractAnimationObjects.java.