public interface Editor
Persistable instance.| Modifier and Type | Method and Description |
|---|---|
Persistable |
edit(Persistable in,
String title,
JComponent parent)
Takes user input and modifies the provided
Persistable instance. |
Persistable edit(Persistable in, String title, JComponent parent)
Persistable instance.
Returns null if the user cancels editing.
Throws RuntimeException if editing fails for any other reason.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.Copyright © 2019 LSST. All rights reserved.