java.lang.Object
de.grogra.video.model.ImageSequenceViewer
- All Implemented Interfaces:
ImageSequenceView
Implements an
ImageSequenceView which grants read only access to the
sequence given by objects creation by simply passing all method calls to the
sequence.- Author:
- Dominick Leppich
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck, if a givenObjectis inside this sequence.get(int arg0) Get theVideoImageat a given position.Return theDimensionof the images in this sequence.getList()Get the whole sequence ofVideoImages as aList.getRegex()Get the regular expression describing all image files.booleanisEmpty()Check, if the sequence is empty.voidreorder()Renames all files and create a regular expression for all files.intsize()Return the size of the sequence (the number ofVideoImages saved in the sequence).
-
Method Details
-
contains
Description copied from interface:ImageSequenceViewCheck, if a givenObjectis inside this sequence.- Specified by:
containsin interfaceImageSequenceView- Returns:
- True, if this sequence contains the specified
Object
-
get
Description copied from interface:ImageSequenceViewGet theVideoImageat a given position.- Specified by:
getin interfaceImageSequenceView- Returns:
- The
VideoImageat the given position
-
getList
Description copied from interface:ImageSequenceViewGet the whole sequence ofVideoImages as aList.- Specified by:
getListin interfaceImageSequenceView- Returns:
- All
VideoImages in aList
-
isEmpty
public boolean isEmpty()Description copied from interface:ImageSequenceViewCheck, if the sequence is empty.- Specified by:
isEmptyin interfaceImageSequenceView- Returns:
- True, if the sequence is empty
-
size
public int size()Description copied from interface:ImageSequenceViewReturn the size of the sequence (the number ofVideoImages saved in the sequence).- Specified by:
sizein interfaceImageSequenceView- Returns:
- The size of the sequence
-
getDimension
Description copied from interface:ImageSequenceViewReturn theDimensionof the images in this sequence. This dimension is unique, because the sequence doesn't allow to add images with mismatching dimensions.- Specified by:
getDimensionin interfaceImageSequenceView- Returns:
VideoImagedimension of this sequence
-
reorder
public void reorder()Description copied from interface:ImageSequenceViewRenames all files and create a regular expression for all files.- Specified by:
reorderin interfaceImageSequenceView
-
getRegex
Description copied from interface:ImageSequenceViewGet the regular expression describing all image files.- Specified by:
getRegexin interfaceImageSequenceView- Returns:
- Regular expression
-