nl.captcha
Class CaptchaBean
java.lang.Object
nl.captcha.CaptchaBean
public class CaptchaBean
- extends java.lang.Object
Simple CAPTCHA bean intended to be used by Spring.
- Author:
- James
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptchaBean
public CaptchaBean(int width,
int height)
build
public CaptchaBean build()
isCorrect
public boolean isCorrect(java.lang.String answer)
getImage
public java.awt.image.BufferedImage getImage()
getBgProd
public BackgroundProducer getBgProd()
setBgProd
public void setBgProd(BackgroundProducer bgProd)
getTxtProd
public TextProducer getTxtProd()
setTxtProd
public void setTxtProd(TextProducer txtProd)
getNoiseProd
public NoiseProducer getNoiseProd()
setNoiseProd
public void setNoiseProd(NoiseProducer noiseProd)
getGimpy
public GimpyRenderer getGimpy()
setGimpy
public void setGimpy(GimpyRenderer gimpy)
isAddBorder
public boolean isAddBorder()
setAddBorder
public void setAddBorder(boolean addBorder)
getAnswer
public java.lang.String getAnswer()
setAnswer
public void setAnswer(java.lang.String answer)
Copyright © 2010-2011 James Childers. All Rights Reserved.