X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTLabel.java;h=75623ffc11ad8ecee95e062d4d0b506a4f63afca;hb=1dac6b8d395e2bf3c1b58915f8f4f481d9e46793;hp=f33a8d75f51ac7f6045f3dbc6b8d97934157af2d;hpb=00691e80f2f135f92be739e2b7e86775a2357276;p=nikiroo-utils.git diff --git a/src/jexer/TLabel.java b/src/jexer/TLabel.java index f33a8d7..75623ff 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. + * + * @param 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. */