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