Top Fields Constructors Methods
io.github.kusoroadeolu.clique.internal.utils

public Class BoxUtils

extends Object
Class Inheritance
Annotations
@InternalApi
since:3.2.0
Imports
io.github.kusoroadeolu.clique.configuration.TextAlign, io.github.kusoroadeolu.clique.internal.BorderChars, .BoxWrapper, .Cell, io.github.kusoroadeolu.clique.internal.documentation.InternalApi, io.github.kusoroadeolu.clique.spi.AnsiCode, io.github.kusoroadeolu.clique.style.StyleCode, java.util.List

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
alignText(StringBuilder sb, int idx, TextAlign textAlign, String spaces, List<Cell> wordWrap, String vLine, int padding)

public static void
applyAnsiToBorders(BorderChars borderChar, AnsiCode[] borderColor)

public static void
drawBox(StringBuilder sb, BoxWrapper boxWrapper, TextAlign textAlign)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

RESETback to summary
private static final String RESET

Constructor Detail

BoxUtilsback to summary
private BoxUtils()

Method Detail

alignTextback to summary
public static void alignText(StringBuilder sb, int idx, TextAlign textAlign, String spaces, List<Cell> wordWrap, String vLine, int padding)
applyAnsiToBordersback to summary
public static void applyAnsiToBorders(BorderChars borderChar, AnsiCode[] borderColor)
drawBoxback to summary
public static void drawBox(StringBuilder sb, BoxWrapper boxWrapper, TextAlign textAlign)