butler.web.util
Class ValueEditor.BaseImpl

java.lang.Object
  extended by butler.web.util.ValueEditor.BaseImpl
All Implemented Interfaces:
ValueEditor
Direct Known Subclasses:
BlobEditor, BooleanEditor, CodeWebEditor, DateEditor, DurationWebEditor, EnumEditor, IntervalWebEditor, MonthViewDateEditor, StringEditor, TimeOfDayWebEditor, WeekWebStepper
Enclosing interface:
ValueEditor

public abstract static class ValueEditor.BaseImpl
extends java.lang.Object
implements ValueEditor


Nested Class Summary
 
Nested classes/interfaces inherited from interface butler.web.util.ValueEditor
ValueEditor.BaseImpl
 
Constructor Summary
ValueEditor.BaseImpl()
           
 
Method Summary
 java.util.List getCaptions()
           
protected  Datatype getDatatype()
           
protected  java.lang.String getDefaultParam()
           
protected  DValueEditor getDescriptor()
           
 java.util.List getHTMLElements(java.lang.Object value)
           
protected  java.lang.String getId()
           
protected  java.lang.String getParam(java.lang.String name)
           
protected  javax.servlet.ServletRequest getRequest()
           
protected  boolean hasParams()
           
 boolean hasValue()
           
 void init(java.lang.String id, javax.servlet.ServletRequest request)
           
 void setDatatype(Datatype dt)
           
 void setDescriptor(DValueEditor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface butler.web.util.ValueEditor
getHTML, getValue
 

Constructor Detail

ValueEditor.BaseImpl

public ValueEditor.BaseImpl()
Method Detail

setDatatype

public void setDatatype(Datatype dt)
Specified by:
setDatatype in interface ValueEditor

init

public void init(java.lang.String id,
                 javax.servlet.ServletRequest request)
          throws java.lang.Exception
Specified by:
init in interface ValueEditor
Throws:
java.lang.Exception

getId

protected java.lang.String getId()

getDatatype

protected Datatype getDatatype()

getDefaultParam

protected java.lang.String getDefaultParam()

getParam

protected java.lang.String getParam(java.lang.String name)

hasParams

protected boolean hasParams()

getRequest

protected javax.servlet.ServletRequest getRequest()

hasValue

public boolean hasValue()
                 throws java.lang.Exception
Specified by:
hasValue in interface ValueEditor
Throws:
java.lang.Exception

getDescriptor

protected DValueEditor getDescriptor()

setDescriptor

public void setDescriptor(DValueEditor descriptor)
                   throws java.lang.Exception
Specified by:
setDescriptor in interface ValueEditor
Throws:
java.lang.Exception

getHTMLElements

public java.util.List getHTMLElements(java.lang.Object value)
                               throws java.lang.Exception
Specified by:
getHTMLElements in interface ValueEditor
Throws:
java.lang.Exception

getCaptions

public java.util.List getCaptions()
                           throws java.lang.Exception
Specified by:
getCaptions in interface ValueEditor
Throws:
java.lang.Exception