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

com.vladsch.flexmark.util.html.CellAlignment Maven / Gradle / Ivy

The newest version!
package com.vladsch.flexmark.util.html;

public enum CellAlignment {
  NONE,
  LEFT,
  CENTER,
  RIGHT;

  public static CellAlignment getAlignment(String alignment) {
    for (CellAlignment cellAlignment : values()) {
      if (cellAlignment.name().equalsIgnoreCase(alignment)) {
        return cellAlignment;
      }
    }
    return NONE;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy