git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timer and progress bar working
[fanfix.git]
/
src
/
jexer
/
TLabel.java
diff --git
a/src/jexer/TLabel.java
b/src/jexer/TLabel.java
index 15d6376d5313adff2010b8e5fd559f8a2b15fdd0..d56be67f7d3815a42dc25c6f43c7e9a416db9cb8 100644
(file)
--- a/
src/jexer/TLabel.java
+++ b/
src/jexer/TLabel.java
@@
-42,6
+42,24
@@
public final class TLabel extends TWidget {
*/
private String text = "";
*/
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.
*/
/**
* Label color.
*/