Package net.sf.gridarta.model.face
Class DefaultFaceObjects
- java.lang.Object
-
- net.sf.gridarta.model.data.AbstractNamedObjects<FaceObject>
-
- net.sf.gridarta.model.face.AbstractFaceObjects
-
- net.sf.gridarta.model.face.DefaultFaceObjects
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<FaceObject>,NamedObjects<FaceObject>,FaceObjects
public class DefaultFaceObjects extends AbstractFaceObjects
Abstract base implementation ofFaceObjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultFaceObjects(boolean includeFaceNumbers)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisIncludeFaceNumbers()Returns whether the images file contains face numbers.@NotNull FaceProviderloadFacesCollection(@NotNull ErrorView errorView, @NotNull java.io.File collectedDirectory)Loads all faces from a png collection file.-
Methods inherited from class net.sf.gridarta.model.face.AbstractFaceObjects
addFaceObject
-
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
-
loadFacesCollection
@NotNull public @NotNull FaceProvider loadFacesCollection(@NotNull @NotNull ErrorView errorView, @NotNull @NotNull java.io.File collectedDirectory)
Description copied from interface:FaceObjectsLoads all faces from a png collection file.- Parameters:
errorView- the error view for reporting errorscollectedDirectory- directory to load from- Returns:
- the face provider for accessing the read faces
-
isIncludeFaceNumbers
public boolean isIncludeFaceNumbers()
Returns whether the images file contains face numbers.- Returns:
- whether the images file contains face numbers
-
-