butler.web.util
Class DateEditor

java.lang.Object
  extended by butler.web.util.ValueEditor.BaseImpl
      extended by butler.web.util.DateEditor
All Implemented Interfaces:
ValueEditor

public class DateEditor
extends ValueEditor.BaseImpl

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from interface butler.web.util.ValueEditor
ValueEditor.BaseImpl
 
Constructor Summary
DateEditor()
           
 
Method Summary
 org.apache.ecs.Element getHTML(java.lang.Object value)
           
 java.lang.Object getValue()
           
 void setAutoSubmit(boolean flag)
           
 void setDefaultDay(int defaultDay)
           
 void setDefaultMonth(int defaultMonth)
           
 void setDefaultYear(int defaultYear)
           
 void setDescriptor(DValueEditor desc)
           
 void setNullAsCurrDate(boolean flag)
           
 void setStepping(boolean flag)
           
 
Methods inherited from class butler.web.util.ValueEditor.BaseImpl
getCaptions, getDatatype, getDefaultParam, getDescriptor, getHTMLElements, getId, getParam, getRequest, hasParams, hasValue, init, setDatatype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor()
           throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setAutoSubmit

public void setAutoSubmit(boolean flag)

setStepping

public void setStepping(boolean flag)

setNullAsCurrDate

public void setNullAsCurrDate(boolean flag)

getHTML

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

getValue

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

setDescriptor

public void setDescriptor(DValueEditor desc)
                   throws java.lang.Exception
Specified by:
setDescriptor in interface ValueEditor
Overrides:
setDescriptor in class ValueEditor.BaseImpl
Throws:
java.lang.Exception

setDefaultDay

public void setDefaultDay(int defaultDay)

setDefaultMonth

public void setDefaultMonth(int defaultMonth)

setDefaultYear

public void setDefaultYear(int defaultYear)