public class DateFieldHandler extends Object implements FieldHandler<Date,FieldUpdateEvent<Date>,ReflectionFormBuilder,UtilDatePicker>
| Modifier | Constructor and Description |
|---|---|
protected |
DateFieldHandler() |
|
DateFieldHandler(DateTypeHandler dateTypeHandler) |
| Modifier and Type | Method and Description |
|---|---|
static DateFieldHandler |
getInstance() |
JComponent |
handle(Field field,
Object instance,
FieldUpdateListener<FieldUpdateEvent<Date>> updateListener,
ReflectionFormBuilder reflectionFormBuilder)
Information about the field value can be retrieved with
Field.get(java.lang.Object) and instance, about the
field name with Field.getName() and about the declaring class
with Field.getDeclaringClass(). |
void |
reset(UtilDatePicker component) |
protected DateFieldHandler()
public DateFieldHandler(DateTypeHandler dateTypeHandler)
public static DateFieldHandler getInstance()
public JComponent handle(Field field, Object instance, FieldUpdateListener<FieldUpdateEvent<Date>> updateListener, ReflectionFormBuilder reflectionFormBuilder) throws FieldHandlingException
FieldHandlerField.get(java.lang.Object) and instance, about the
field name with Field.getName() and about the declaring class
with Field.getDeclaringClass().handle in interface FieldHandler<Date,FieldUpdateEvent<Date>,ReflectionFormBuilder,UtilDatePicker>field - the Field to be handledinstance - the instance to handleupdateListener - an FieldUpdateListener to notify on updatesreflectionFormBuilder - a ReflectionFormBuilder used for
recursionFieldHandlingException - wraps all exceptions occuring during read
or write access to fieldspublic void reset(UtilDatePicker component)
reset in interface ComponentHandler<UtilDatePicker>Copyright © 2018. All rights reserved.