butler.web.util
Class ValueEditor.BaseImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueEditor.BaseImpl
public ValueEditor.BaseImpl()
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