T - Type of Persistable this editor can edit.public interface Editor<T extends Persistable>
Persistable instance.| Modifier and Type | Method and Description |
|---|---|
T |
edit(T in,
String title,
Component parent)
Takes user input and modifies the provided
Persistable instance. |
T edit(T in, String title, Component parent)
Persistable instance.
Returns null if the user cancels editing.in - Instance to be edited.title - User-interaction dialog title, or null if the default title should be used.parent - Graphical component to be use as a parent for user-interaction dialog(s).in parameter.IllegalArgumentException - If the supplied Persistable is incompatible with this Editor.RuntimeException - If editing fails for any reason.Copyright © 2023 LSST. All rights reserved.