X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTLabel.java;h=d56be67f7d3815a42dc25c6f43c7e9a416db9cb8;hb=34a42e784bf1238c6bb2847c52d7c841fcfdef5f;hp=15d6376d5313adff2010b8e5fd559f8a2b15fdd0;hpb=30d336cc33e26af877f7950b93f3b77d9c3a3bd3;p=fanfix.git diff --git a/src/jexer/TLabel.java b/src/jexer/TLabel.java index 15d6376..d56be67 100644 --- a/src/jexer/TLabel.java +++ b/src/jexer/TLabel.java @@ -42,6 +42,24 @@ public final class TLabel extends TWidget { */ private String text = ""; + /** + * Get label text. + * + * @return label text + */ + public String getText() { + return text; + } + + /** + * Set label text. + * + * @param text new label text + */ + public void setText(final String text) { + this.text = text; + } + /** * Label color. */