|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.apache.wicket.markup.html.DynamicWebResource
org.apache.wicket.markup.html.image.resource.DynamicImageResource
org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource
public final class CaptchaImageResource
Generates a captcha image.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.wicket.markup.html.DynamicWebResource |
|---|
DynamicWebResource.ResourceState |
| Field Summary |
|---|
| Fields inherited from interface org.apache.wicket.IResourceListener |
|---|
INTERFACE |
| Constructor Summary | |
|---|---|
CaptchaImageResource()
Construct. |
|
CaptchaImageResource(IModel<String> challengeId)
Construct. |
|
CaptchaImageResource(IModel<String> challengeId,
int fontSize,
int margin)
Construct. |
|
CaptchaImageResource(String challengeId)
Construct. |
|
CaptchaImageResource(String challengeId,
int fontSize,
int margin)
Construct. |
|
| Method Summary | |
|---|---|
String |
getChallengeId()
Gets the id for the challenge. |
IModel<String> |
getChallengeIdModel()
Gets the id for the challenge |
protected byte[] |
getImageData()
|
void |
invalidate()
Causes the image to be redrawn the next time its requested. |
| Methods inherited from class org.apache.wicket.markup.html.image.resource.DynamicImageResource |
|---|
getFormat, getResourceState, setFormat, setLastModifiedTime, toImageData |
| Methods inherited from class org.apache.wicket.markup.html.DynamicWebResource |
|---|
getLocale, getResourceStream, setHeaders |
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
|---|
configureResponse, getCacheDuration |
| Methods inherited from class org.apache.wicket.Resource |
|---|
getParameters, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CaptchaImageResource()
public CaptchaImageResource(String challengeId)
challengeId - The id of the challengepublic CaptchaImageResource(IModel<String> challengeId)
challengeId - The id of the challenge
public CaptchaImageResource(IModel<String> challengeId,
int fontSize,
int margin)
challengeId - The id of the challengefontSize - The font sizemargin - The image's margin
public CaptchaImageResource(String challengeId,
int fontSize,
int margin)
challengeId - The id of the challengefontSize - The font sizemargin - The image's margin| Method Detail |
|---|
public final String getChallengeId()
public final IModel<String> getChallengeIdModel()
public final void invalidate()
invalidate in class ResourceResource.invalidate()protected final byte[] getImageData()
getImageData in class DynamicImageResourceDynamicImageResource.getImageData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||