timer and progress bar working
[fanfix.git] / src / jexer / TLabel.java
index 15d6376d5313adff2010b8e5fd559f8a2b15fdd0..d56be67f7d3815a42dc25c6f43c7e9a416db9cb8 100644 (file)
@@ -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.
      */