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

pe.puyu.jticketdesing.util.escpos.JustifyAlign Maven / Gradle / Ivy

The newest version!
package pe.puyu.jticketdesing.util.escpos;

public enum JustifyAlign {
	CENTER("CENTER"),
	LEFT("LEFT"),
	RIGHT("RIGHT");

	private final String value;

	JustifyAlign(String value) {
		this.value = value;
	}

	public String getValue() {
		return this.value;
	}

	public static JustifyAlign fromValue(String value) {
		for (JustifyAlign type : JustifyAlign.values()) {
			if (type.value.equalsIgnoreCase(value)) {
				return type;
			}
		}
		return LEFT;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy