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

public final Class Cell

extends Object
Class Inheritance
Annotations
@InternalApi
since:3.2.0
Imports
io.github.kusoroadeolu.clique.internal.documentation.InternalApi, io.github.kusoroadeolu.clique.internal.utils.CharWidth

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final int

Constructor Summary

AccessConstructor and Description
public
Cell(String text, String styledText)

Method Summary

Modifier and TypeMethod and Description
public boolean
public String
public String
text()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

styledTextback to summary
private final String styledText
textback to summary
private final String text
widthback to summary
private final int width

Constructor Detail

Cellback to summary
public Cell(String text, String styledText)

Method Detail

isEmptyback to summary
public boolean isEmpty()
styledTextback to summary
public String styledText()
textback to summary
public String text()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
widthback to summary
public int width()