Class AnimationObjectsCollectable
- java.lang.Object
-
- net.sf.gridarta.model.collectable.AnimationObjectsCollectable
-
- All Implemented Interfaces:
Collectable
public class AnimationObjectsCollectable extends java.lang.Object implements Collectable
aCollectablethat creates the "animations" file. It also creates the editor helper file "animtree".
-
-
Constructor Summary
Constructors Constructor Description AnimationObjectsCollectable(@NotNull AnimationObjects animationObjects, @NotNull java.lang.String animTreeFile)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory)Collects information.
-
-
-
Constructor Detail
-
AnimationObjectsCollectable
public AnimationObjectsCollectable(@NotNull @NotNull AnimationObjects animationObjects, @NotNull @NotNull java.lang.String animTreeFile)Creates a new instance.- Parameters:
animationObjects- the animation objects to be collectedanimTreeFile- the collected animation tree file
-
-
Method Detail
-
collect
public void collect(@NotNull @NotNull net.sf.japi.swing.misc.Progress progress, @NotNull @NotNull java.io.File collectedDirectory) throws java.io.IOExceptionCollects information. Collects the Animations. The animation data is written to "animations". The tree information for the editor is written to "animtree".- Specified by:
collectin interfaceCollectable- Parameters:
progress- the progress to report progress tocollectedDirectory- the destination directory to collect data to- Throws:
java.io.IOException- in case of I/O problems during collection
-
-