Class ConsoleEngine.WidgetCreator

java.lang.Object
org.jline.console.ConsoleEngine.WidgetCreator
All Implemented Interfaces:
Binding, Widget
Enclosing interface:
ConsoleEngine

public static class ConsoleEngine.WidgetCreator extends Object implements Widget
Class for creating widgets from console functions.

A WidgetCreator creates a widget that executes a function defined in the console. This allows console functions to be bound to key sequences and used as widgets.