java.lang.Object
de.grogra.video.model.ImageSequenceController
- All Implemented Interfaces:
ImageSequenceControl
Implements an
ImageSequenceControl
which grants changing access to
the sequence given by objects creation by simply passing all method calls to
the sequence.- Author:
- Dominick Leppich
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, VideoImage image) Add aVideoImage
at a specified position in the sequence.void
add
(VideoImage image) Add aVideoImage
at the end of the sequence.void
clear()
Clear the sequence of images.remove
(int index) Remove the image at the specified position.
-
Method Details
-
add
Description copied from interface:ImageSequenceControl
Add aVideoImage
at the end of the sequence.- Specified by:
add
in interfaceImageSequenceControl
- Parameters:
image
- -VideoImage
-
add
Description copied from interface:ImageSequenceControl
Add aVideoImage
at a specified position in the sequence.- Specified by:
add
in interfaceImageSequenceControl
- Parameters:
index
- - Index to insert the imageimage
- -VideoImage
-
clear
public void clear()Description copied from interface:ImageSequenceControl
Clear the sequence of images.- Specified by:
clear
in interfaceImageSequenceControl
-
remove
Description copied from interface:ImageSequenceControl
Remove the image at the specified position.- Specified by:
remove
in interfaceImageSequenceControl
- Parameters:
index
- - Index of the image to remove- Returns:
- The
VideoImage
which was removed
-