T
- the type being editedE
- the Editor typepublic abstract class AbstractSimpleBeanEditorDriver<T,E extends Editor<T>> extends BaseEditorDriver<T,E> implements SimpleBeanEditorDriver<T,E>
Constructor and Description |
---|
AbstractSimpleBeanEditorDriver() |
Modifier and Type | Method and Description |
---|---|
void |
edit(T object)
Push the data in an object graph into the Editor given to
SimpleBeanEditorDriver.initialize(E) . |
T |
flush()
Update the object being edited with the current state of the Editor.
|
void |
initialize(E editor)
Initialize the editor driver.
|
accept, configureDelegate, createDelegate, createInitializerVisitor, doEdit, doFlush, doInitialize, doSetViolations, getDelegate, getEditor, getErrors, getObject, getViolationKeyMethod, hasErrors, isDirty, setConstraintViolations, toString
accept, getErrors, hasErrors, isDirty, setConstraintViolations
public void edit(T object)
SimpleBeanEditorDriver
SimpleBeanEditorDriver.initialize(E)
.public T flush()
SimpleBeanEditorDriver
flush
in interface EditorDriver<T>
flush
in interface SimpleBeanEditorDriver<T,E extends Editor<T>>
SimpleBeanEditorDriver.edit(Object)
public void initialize(E editor)
SimpleBeanEditorDriver
initialize
in interface SimpleBeanEditorDriver<T,E extends Editor<T>>
editor
- the Editor to populateCopyright © 2018. All rights reserved.