be.quodlibet.boxable.VerticalAlignment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boxable Show documentation
Show all versions of boxable Show documentation
Easily creates tables in pdf.
package be.quodlibet.boxable;
public enum VerticalAlignment {
TOP, MIDDLE, BOTTOM;
public static VerticalAlignment get(final String key) {
switch (key == null ? "top" : key.toLowerCase().trim()) {
case "top":
return TOP;
case "middle":
return MIDDLE;
case "bottom":
return BOTTOM;
default:
return TOP;
}
}
}