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