Enum AnyIMG.Align

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

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

    • LEFT

      public static final AnyIMG.Align LEFT
      Deprecated.
      Align the image to the left.
    • MIDDLE

      public static final AnyIMG.Align MIDDLE
      Deprecated.
      Align the image in the middle.
    • TOP

      public static final AnyIMG.Align TOP
      Deprecated.
      Align the image at the top.
    • BOTTOM

      public static final AnyIMG.Align BOTTOM
      Deprecated.
      Align the image at the bottom.
  • Method Details

    • values

      public static AnyIMG.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 AnyIMG.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<AnyIMG.Align>
    • apply

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