public class DataFormEntityAdapter extends Object
Constructor and Description |
---|
DataFormEntityAdapter(RadDataForm dataForm)
Creates an instance of
DataFormEntityAdapter with the provided arguments. |
Modifier and Type | Method and Description |
---|---|
EditorRegistry |
getEditorRegistry()
Gets the editor registry.
|
Iterable<EntityPropertyViewer> |
getEditorsForEntity(Entity entity)
Gets a list of editors for a given entity.
|
Iterable<EntityPropertyViewer> |
getViewersForEntity(Entity entity)
Gets a list of viewers for a given entity.
|
void |
setEditorProvider(Function<EntityProperty,EntityPropertyEditor> provider)
Sets an editor provider callback.
|
void |
setViewerProvider(Function<EntityProperty,EntityPropertyViewer> provider)
Sets a viewer provider callback.
|
public DataFormEntityAdapter(RadDataForm dataForm)
DataFormEntityAdapter
with the provided arguments.dataForm
- the data form associated with this adapter.public void setEditorProvider(Function<EntityProperty,EntityPropertyEditor> provider)
public void setViewerProvider(Function<EntityProperty,EntityPropertyViewer> provider)
public EditorRegistry getEditorRegistry()
public Iterable<EntityPropertyViewer> getEditorsForEntity(Entity entity)
public Iterable<EntityPropertyViewer> getViewersForEntity(Entity entity)