com.hp.lft.sdk.web

Enum ImageType

  • java.lang.Object
    • java.lang.Enum<ImageType>
      • com.hp.lft.sdk.web.ImageType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ImageType>


    public enum ImageType
    extends java.lang.Enum<ImageType>
    Supported image types.
    • Enum Constant Summary

      Enum Constant and Description
      BUTTON
      An image contained in an input element (input type="image").
      CLIENT_AND_SERVER_IMAGE_MAP
      An image that is both a client image map and a server image map.
      CLIENT_IMAGE_MAP
      An image that is part of a client-side image map (relevant for area objects).
      LINK
      An image contained in an anchor element.
      NORMAL
      A normal image without any special meaning.
      SERVER_IMAGE_MAP
      An image defined as a server-side image map.
    • Method Summary

      Modifier and TypeMethod and Description
      static ImageTypevalueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ImageType[]values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NORMAL

        public static final ImageType NORMAL
        A normal image without any special meaning.
      • BUTTON

        public static final ImageType BUTTON
        An image contained in an input element (input type="image").
      • LINK

        public static final ImageType LINK
        An image contained in an anchor element.
      • CLIENT_IMAGE_MAP

        public static final ImageType CLIENT_IMAGE_MAP
        An image that is part of a client-side image map (relevant for area objects).
      • CLIENT_AND_SERVER_IMAGE_MAP

        public static final ImageType CLIENT_AND_SERVER_IMAGE_MAP
        An image that is both a client image map and a server image map.
      • SERVER_IMAGE_MAP

        public static final ImageType SERVER_IMAGE_MAP
        An image defined as a server-side image map.
    • Method Detail

      • values

        public static ImageType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImageType c : ImageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageType valueOf(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null