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