pe.puyu.jticketdesing.util.escpos.JustifyAlign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JTicketDesing Show documentation
Show all versions of JTicketDesing Show documentation
Una libreria para diseño de tickets, utilizando comandos escpos
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