box

fun box(boxType: BoxType = BoxType.SINGLE, title: String = "", renderingMode: ComponentDecorationRenderer.RenderingMode = NON_INTERACTIVE): ComponentDecorationRenderer

Can be used to draw a box (using box drawing characters) around a Component. Note that the title will only be displayed for a Component if it is wrapped with a box. This decoration uses RenderingMode.NON_INTERACTIVE by default.

Sources

(source)
Link copied to clipboard