butler.web.util
Interface ValueEditor

All Known Implementing Classes:
BlobEditor, BooleanEditor, CodeWebEditor, DateEditor, DateIntervalWebEditor, DurationWebEditor, EnumEditor, IntervalWebEditor, MonthViewDateEditor, PasswordWebEditor, StringEditor, TimeOfDayWebEditor, ValueEditor.BaseImpl, WeekWebStepper

public interface ValueEditor

Author:
Fredrik Bertilsson

Nested Class Summary
static class ValueEditor.BaseImpl
           
 
Method Summary
 java.util.List getCaptions()
           
 org.apache.ecs.Element getHTML(java.lang.Object value)
           
 java.util.List getHTMLElements(java.lang.Object value)
           
 java.lang.Object getValue()
           
 boolean hasValue()
           
 void init(java.lang.String id, javax.servlet.ServletRequest request)
           
 void setDatatype(Datatype dt)
           
 void setDescriptor(DValueEditor desc)
           
 

Method Detail

setDatatype

void setDatatype(Datatype dt)
                 throws java.lang.Exception
Throws:
java.lang.Exception

init

void init(java.lang.String id,
          javax.servlet.ServletRequest request)
          throws java.lang.Exception
Throws:
java.lang.Exception

getValue

java.lang.Object getValue()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getHTML

org.apache.ecs.Element getHTML(java.lang.Object value)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getHTMLElements

java.util.List getHTMLElements(java.lang.Object value)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getCaptions

java.util.List getCaptions()
                           throws java.lang.Exception
Throws:
java.lang.Exception

hasValue

boolean hasValue()
                 throws java.lang.Exception
Throws:
java.lang.Exception

setDescriptor

void setDescriptor(DValueEditor desc)
                   throws java.lang.Exception
Throws:
java.lang.Exception