All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nuiton.jaxx.widgets.temperature.TemperatureFormatI18n Maven / Gradle / Ivy

There is a newer version: 3.1.5
Show newest version
package org.nuiton.jaxx.widgets.temperature;

import javax.annotation.Generated;
import java.util.Locale;

import static io.ultreia.java4all.i18n.I18n.l;
import static io.ultreia.java4all.i18n.I18n.t;


@Generated(value = "Generated by io.ultreia.java4all.i18n.spi.builder.TranslateEnumerationProcessor",date = "Thu Feb 22 14:04:33 CET 2024")
public class TemperatureFormatI18n {

    protected static String getLabelKey(TemperatureFormat e) {
        return "enum.org.nuiton.jaxx.widgets.temperature.TemperatureFormat." + e.name();
    }

    public static String getLabel(TemperatureFormat e) {
        return t(getLabelKey(e));
    }

    public static String getLabel(Locale locale, TemperatureFormat e) {
        return l(locale, getLabelKey(e));
    }

    protected static String getDescriptionKey(TemperatureFormat e) {
        return "enum.org.nuiton.jaxx.widgets.temperature.TemperatureFormat." + e.name() + ".description";
    }

    public static String getDescription(TemperatureFormat e) {
        return t(getDescriptionKey(e));
    }

    public static String getDescription(Locale locale, TemperatureFormat e) {
        return l(locale, getDescriptionKey(e));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy