20 package net.sf.gridarta.model.face;
24 import org.jetbrains.annotations.NotNull;
49 final FaceObject otherFaceObject =
get(faceName);
50 if (otherFaceObject != null) {
51 throw new DuplicateFaceException(faceObject, otherFaceObject);
The data package contains classes for handling data that is organized in a tree.
Common interface for FaceObject.
Base package of all Gridarta classes.
Exception that's thrown in case a face name was not unique.
Exception thrown to indicate that a face object is not acceptable.
This class manages NamedObjects, managing their tree as well as providing a method for showing a dial...
AbstractFaceObjects(@NotNull final String name)
Creates a new instance.
FaceObjects is a container for FaceObjects.
void put(@NotNull final E object)
Store a AbstractNamedObject.
Exception thrown to indicate that a named object is not acceptable.
static final long serialVersionUID
The serial version UID.
Abstract base class for FaceObjects implementations.
final String name
The localized name of the object type, e.g.
A FaceObject stores information and meta information about a face and provides methods for accessing ...
void addFaceObject(@NotNull final String faceName, @NotNull final String originalFilename, final int offset, final int size)