public final class SettingsEditorWrapper<Src,Dst> extends SettingsEditor<Src>
Disposable.Parent
Constructor and Description |
---|
SettingsEditorWrapper(SettingsEditor<Dst> wrapped,
java.util.function.Function<? super Src,? extends Dst> convertor) |
Modifier and Type | Method and Description |
---|---|
void |
applyEditorTo(Src src) |
javax.swing.JComponent |
createEditor() |
void |
disposeEditor() |
void |
resetEditorFrom(Src src) |
addSettingsEditorListener, applyTo, bulkUpdate, createWatcher, dispose, fireEditorStateChanged, getComponent, getFactory, getOwner, getSnapshot, installWatcher, removeSettingsEditorListener, resetFrom, uninstallWatcher
public SettingsEditorWrapper(SettingsEditor<Dst> wrapped, java.util.function.Function<? super Src,? extends Dst> convertor)
public void resetEditorFrom(Src src)
resetEditorFrom
in class SettingsEditor<Src>
public void applyEditorTo(Src src) throws ConfigurationException
applyEditorTo
in class SettingsEditor<Src>
ConfigurationException
public javax.swing.JComponent createEditor()
createEditor
in class SettingsEditor<Src>
public void disposeEditor()
disposeEditor
in class SettingsEditor<Src>