X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTLabel.java;h=c34aee16f32aa699009835b119e95442b8915c7c;hb=0c28ec38449a59cf34cf5b3c13ea02add1ee57c5;hp=f33a8d75f51ac7f6045f3dbc6b8d97934157af2d;hpb=00691e80f2f135f92be739e2b7e86775a2357276;p=fanfix.git diff --git a/src/jexer/TLabel.java b/src/jexer/TLabel.java index f33a8d7..c34aee1 100644 --- a/src/jexer/TLabel.java +++ b/src/jexer/TLabel.java @@ -222,6 +222,24 @@ public class TLabel extends TWidget { mnemonic = new MnemonicString(label); } + /** + * Get the label color. + * + * @return the ColorTheme key color to use for foreground text + */ + public String getColorKey() { + return colorKey; + } + + /** + * Set the label color. + * + * @param colorKey ColorTheme key color to use for foreground text + */ + public void setColorKey(final String colorKey) { + this.colorKey = colorKey; + } + /** * Act as though the mnemonic shortcut was pressed. */