class SettingsComponentListener<S : Settings<S, T>, T : Scheme<T>> : SchemesPanel.Listener<T>
A Listener that takes events occurring in a SchemesPanel and handles them in a SettingsComponent.
Consider this listener the glue between the schemes panel (the model) and the settings component (the view).
S - the type of settings to manage
T - the type of scheme to manage
component - the settings component in which the changes should be reflected
SettingsComponentListener(component: SettingsComponent<S, T>)
A Listener that takes events occurring in a SchemesPanel and handles them in a SettingsComponent. |
fun onCurrentSchemeHasChanged(scheme: T): Unit
Invoked when the currently-selected scheme has just been changed. |
|
fun onCurrentSchemeWillChange(scheme: T): Unit
Invoked when the currently-selected scheme is about to change. |