Enum RichMedia.Layout

    • Enum Constant Detail

      • WRAP_LEFT

        public static final RichMedia.Layout WRAP_LEFT
        Provide an image floated to the left of the page with text wrapped around it.
      • CENTER

        public static final RichMedia.Layout CENTER
        Aligns the image in the center of the content as a block. This will be used by default if no layout is explicitly supplied.
      • WRAP_RIGHT

        public static final RichMedia.Layout WRAP_RIGHT
        Provide an image floated to the right of the page with text wrapped around it.
      • WIDE

        public static final RichMedia.Layout WIDE
        Aligns the image in the center of the content as a block, but expands into the default margins to produce a wider image.
      • FULL_WIDTH

        public static final RichMedia.Layout FULL_WIDTH
        Stretches the image the entire width of the page (or the surrounding container, such as a table cell).
    • Method Detail

      • values

        public static RichMedia.Layout[] 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 (RichMedia.Layout c : RichMedia.Layout.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RichMedia.Layout valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • layout

        public String layout()