org.mmbase.datatypes
Class CaptchaDataType.Handler

java.lang.Object
  extended by org.mmbase.datatypes.handlers.AbstractHandler<String>
      extended by org.mmbase.datatypes.handlers.html.HtmlHandler
          extended by org.mmbase.datatypes.handlers.html.TextHandler
              extended by org.mmbase.datatypes.handlers.html.StringHandler
                  extended by org.mmbase.datatypes.CaptchaDataType.Handler
All Implemented Interfaces:
Serializable, Handler<String>
Enclosing class:
CaptchaDataType

public static class CaptchaDataType.Handler
extends StringHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.datatypes.handlers.html.HtmlHandler
SESSIONNAME, XML
 
Constructor Summary
CaptchaDataType.Handler()
           
 
Method Summary
 String input(Request request, Node node, Field field, boolean search)
          Produces an form input field for the given Node, and Field.
 void setBackground(String bg)
           
 void setFont(String f)
           
 void setLength(int l)
           
 void setSwirl(int s)
           
protected  void setValue(Request request, Node node, String fieldName, Object value)
           
 
Methods inherited from class org.mmbase.datatypes.handlers.html.HtmlHandler
appendClasses, appendNameId, check, id, prefixError, setSetIfNotChanged
 
Methods inherited from class org.mmbase.datatypes.handlers.AbstractHandler
cast, findString, getFieldValue, getFieldValue, getOperator, getSearchValue, getValue, id, interpretEmptyAsNull, search, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaDataType.Handler

public CaptchaDataType.Handler()
Method Detail

setLength

public void setLength(int l)

setSwirl

public void setSwirl(int s)

setBackground

public void setBackground(String bg)

setFont

public void setFont(String f)

setValue

protected void setValue(Request request,
                        Node node,
                        String fieldName,
                        Object value)
Overrides:
setValue in class AbstractHandler<String>

input

public String input(Request request,
                    Node node,
                    Field field,
                    boolean search)
Description copied from interface: Handler
Produces an form input field for the given Node, and Field.

Specified by:
input in interface Handler<String>
Overrides:
input in class TextHandler
search - if true, then a search field is produced.


MMBase 2.0-SNAPSHOT - null