public abstract class ContactEngine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Chain |
chain |
protected int |
cHeight |
protected java.lang.String |
cName |
protected ContactManager |
contactManager |
protected ContactParams |
contactParams |
protected java.lang.String |
cPath |
protected java.lang.String |
cUuid |
protected int |
cWidth |
protected DatabaseFacade |
dbf |
protected org.apache.commons.logging.Log |
logger |
protected PicManFacade |
pmf |
protected Set |
set |
protected System |
system |
protected int |
tHeight |
Constructor and Description |
---|
ContactEngine() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
_makeContact() |
protected void |
drawContactLabel(java.awt.Graphics2D g) |
protected int |
drawThumb(java.awt.Graphics2D g,
java.lang.String tName,
int tHeight,
int x,
int y) |
protected boolean |
isAbort() |
boolean |
makeContact(ContactParams contactParams)
Make a contact sheet based on these parameters.
|
protected java.util.LinkedList<java.lang.String> |
randomize(java.util.List<java.lang.String> in) |
void |
setContactManager(ContactManager contactManager) |
void |
setPicMan(PicManFacade pmf)
Set the reference to the PicMan API.
|
protected boolean |
writePic(java.awt.image.BufferedImage bi,
boolean makeBackup) |
protected final org.apache.commons.logging.Log logger
protected PicManFacade pmf
protected DatabaseFacade dbf
protected System system
protected ContactParams contactParams
protected Set set
protected int cWidth
protected int cHeight
protected java.lang.String cName
protected java.lang.String cPath
protected int tHeight
protected java.lang.String cUuid
protected Chain chain
protected ContactManager contactManager
public void setPicMan(PicManFacade pmf)
pmf
- The PicManFacadepublic void setContactManager(ContactManager contactManager)
protected abstract boolean _makeContact()
public boolean makeContact(ContactParams contactParams)
contactParams
- protected java.util.LinkedList<java.lang.String> randomize(java.util.List<java.lang.String> in)
protected int drawThumb(java.awt.Graphics2D g, java.lang.String tName, int tHeight, int x, int y)
protected void drawContactLabel(java.awt.Graphics2D g)
protected boolean isAbort()
protected boolean writePic(java.awt.image.BufferedImage bi, boolean makeBackup)