public class DoubleFieldHandler extends Object implements FieldHandler<Double,FieldUpdateEvent<Double>,ReflectionFormBuilder,DoublePanel>
| Modifier | Constructor and Description |
|---|---|
protected |
DoubleFieldHandler() |
|
DoubleFieldHandler(DoubleTypeHandler doubleTypeHandler) |
| Modifier and Type | Method and Description |
|---|---|
static DoubleFieldHandler |
getInstance() |
JComponent |
handle(Field field,
Object instance,
FieldUpdateListener<FieldUpdateEvent<Double>> 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(DoublePanel component) |
protected DoubleFieldHandler()
public DoubleFieldHandler(DoubleTypeHandler doubleTypeHandler)
public static DoubleFieldHandler getInstance()
public JComponent handle(Field field, Object instance, FieldUpdateListener<FieldUpdateEvent<Double>> 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<Double,FieldUpdateEvent<Double>,ReflectionFormBuilder,DoublePanel>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(DoublePanel component)
reset in interface ComponentHandler<DoublePanel>Copyright © 2018. All rights reserved.