public abstract class AbstractFaceObjects extends AbstractNamedObjects<FaceObject> implements FaceObjects
FaceObjects
implementations.Modifier | Constructor and Description |
---|---|
protected |
AbstractFaceObjects(@NotNull java.lang.String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addFaceObject(@NotNull java.lang.String faceName,
@NotNull java.lang.String originalFilename,
int offset,
int size)
Adds a new face object.
|
containsKey, get, getName, getTreeRoot, iterator, put, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isIncludeFaceNumbers, loadFacesCollection
containsKey, get, getName, getTreeRoot, iterator, size
protected AbstractFaceObjects(@NotNull @NotNull java.lang.String name)
name
- localized name of the object type, e.g. used in dialogspublic void addFaceObject(@NotNull @NotNull java.lang.String faceName, @NotNull @NotNull java.lang.String originalFilename, int offset, int size) throws DuplicateFaceException, IllegalFaceException
FaceObjects
addFaceObject
in interface FaceObjects
faceName
- the name of the face, e.g. "robe.101"originalFilename
- the original filename, e.g.
"arch/objects/misc/robe.101.png"offset
- the offset in the file denoted by actualFilename
,
e.g. 148676size
- the size in the file denoted by actualFilename
, e.g.
567,DuplicateFaceException
- in case the face was not uniqueIllegalFaceException
- if the face cannot be added