|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.image.ImageCaptcha com.octo.captcha.image.fisheye.FishEye
public class FishEye
FishEye is an ImageCaptcha
Field Summary |
---|
Fields inherited from class com.octo.captcha.image.ImageCaptcha |
---|
challenge, question |
Constructor Summary | |
---|---|
protected |
FishEye(java.lang.String question,
java.awt.image.BufferedImage challenge,
java.awt.Point deformationCenter,
java.lang.Integer tolerance)
|
Method Summary | |
---|---|
java.lang.Boolean |
validateResponse(java.lang.Object response)
Validation routine for the response. |
Methods inherited from class com.octo.captcha.image.ImageCaptcha |
---|
disposeChallenge, getChallenge, getImageChallenge, getQuestion, hasGetChalengeBeenCalled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FishEye(java.lang.String question, java.awt.image.BufferedImage challenge, java.awt.Point deformationCenter, java.lang.Integer tolerance)
question
- the questionchallenge
- the imageChallengedeformationCenter
- the center of the deformation that has been applied to the image in order to validate
the answertolerance
- the max distance to the center of the deformation accepted by the validation routine in
pixels.Method Detail |
---|
public java.lang.Boolean validateResponse(java.lang.Object response)
response
- to the question concerning the chalenge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |