Scroll On Focus Listener
private class ScrollOnFocusListener<S : Scheme>(val focusManager: KeyboardFocusManager, val editor: SchemeEditor<S>) : PropertyChangeListener, Disposable(source)
Scrolls to the focused element within the editor, registering this listener with the focusManager, and automatically disposing itself when the editor is disposed.
Functions
Link copied to clipboard
Removes this listener from the focusManager.
Link copied to clipboard
Installs this listener with the focusManager.
Link copied to clipboard
Scrolls to the newly focused element if that element is in the editor.