Package swingtree

Class TextInsertDelegate


public final class TextInsertDelegate extends AbstractTextComponentDelegate
A delegate object for the Action lambda passed to the UIForAnyTextComponent.onTextInsert(Action) method, which is used to register a listener for text insertion events.
This delegate provides useful context information to the action listener, such as the text component itself, the DocumentFilter.FilterBypass object that can be used to insert text into the document, the offset at which the text is to be inserted and the length of the text to be inserted.