Enum AnyCOL.Align

java.lang.Object
java.lang.Enum<AnyCOL.Align>
com.aoapps.html.any.AnyCOL.Align
All Implemented Interfaces:
Serializable, Comparable<AnyCOL.Align>, Function<AnyDocument<?>,String>
Enclosing class:
AnyCOL<D extends AnyDocument<D>,PC extends AnyCOLGROUP_content<D,PC>,E extends AnyCOL<D,PC,E>>

@Deprecated public static enum AnyCOL.Align extends Enum<AnyCOL.Align> implements Function<AnyDocument<?>,String>
Deprecated.
The align attribute of <col> is not supported in HTML5. Use CSS instead.
  • Enum Constant Details

    • LEFT

      public static final AnyCOL.Align LEFT
      Deprecated.
      Left-align content.
    • CENTER

      public static final AnyCOL.Align CENTER
      Deprecated.
      Center-align content.
    • JUSTIFY

      public static final AnyCOL.Align JUSTIFY
      Deprecated.
      Stretches the lines so that each line has equal width (like in newspapers and magazines).
    • CHAR

      public static final AnyCOL.Align CHAR
      Deprecated.
      Align the content to a specific character.
  • Method Details

    • values

      public static AnyCOL.Align[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnyCOL.Align valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Enum<AnyCOL.Align>
    • apply

      public String apply(AnyDocument<?> document)
      Deprecated.
      Specified by:
      apply in interface Function<AnyDocument<?>,String>