| Package | Description |
|---|---|
| de.richtercloud.reflection.form.builder | |
| de.richtercloud.reflection.form.builder.fieldhandler | |
| de.richtercloud.reflection.form.builder.panels |
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
|
| de.richtercloud.reflection.form.builder.typehandler |
| Modifier and Type | Method and Description |
|---|---|
protected JComponent |
ReflectionFormBuilder.getClassComponent(Field field,
Class<?> entityClass,
Object instance,
FieldHandler fieldHandler)
Retrieves the associated
JComponent to be displayed in the form. |
void |
ReflectionFormPanel.reset() |
void |
ComponentHandler.reset(C component) |
protected void |
ReflectionFormBuilder.transformClass(Class<?> clazz,
Object instance,
Map<Field,JComponent> fieldMapping,
ReflectionFormPanel reflectionFormPanel,
FieldHandler fieldHandler)
Code used by entity and embeddable transformation.
|
ReflectionFormPanel |
ReflectionFormBuilder.transformEntityClass(Class<?> entityClass,
Object entityToUpdate,
FieldHandler fieldHandler) |
| Modifier and Type | Method and Description |
|---|---|
JComponent |
AbstractListFieldHandler.handle(Field field,
Object instance,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
JComponent |
FieldHandler.handle(Field field,
Object instance,
FieldUpdateListener<E> updateListener,
R 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(). |
JComponent |
ResettableFieldHandler.handle(Field field,
Object instance,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
protected abstract org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
ResettableFieldHandler.handle0(Field field,
Object instance,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
protected org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
MappingFieldHandler.handle0(Field field,
Object instance,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder)
Must never return
null, otherwise #handle(java.lang.reflect.Field, java.lang.Object, richtercloud.reflection.form.builder.fieldhandler.FieldUpdateListener, richtercloud.reflection.form.builder.ReflectionFormBuilder) throws IllegalArgumentException. |
void |
AbstractListFieldHandler.reset(AbstractListPanel component) |
void |
ResettableFieldHandler.reset(C component) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractListPanel.addValue(T value) |
protected abstract void |
AbstractListPanel.editRow() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
GenericListTypeHandler.handle(Type type,
List<Object> fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<FieldUpdateEvent<List<Object>>> updateListener,
R reflectionFormBuilder)
Checks
typeClassAnnotationHandlerMapping and then
typeHandlerMapping for exact matches.If there're no results,
checks typeClassAnnotationHandlerMapping and
genericsTypeClassAnnotationHandlerMapping. |
org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
MappingTypeHandler.handle(Type type,
T fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
TypeHandler.handle(Type type,
T fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
AbstractListTypeHandler.handle(Type type,
T fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
protected abstract org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
AbstractListTypeHandler.handle0(Type type,
T fieldValue,
FieldUpdateListener<E> updateListener,
ReflectionFormBuilder reflectionFormBuilder) |
protected org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
MappingTypeHandler.handle0(Type type,
T fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<E> updateListener,
R reflectionFormBuilder) |
protected abstract org.apache.commons.lang3.tuple.Pair<JComponent,ComponentHandler<?>> |
GenericListTypeHandler.handleGenericType(Type type,
List<Object> fieldValue,
String fieldName,
Class<?> declaringClass,
FieldUpdateListener<FieldUpdateEvent<List<Object>>> updateListener,
R reflectionFormBuilder) |
void |
MappingTypeHandler.reset(Component component) |
Copyright © 2018. All rights reserved.