Enum ElementAlign

    • Enum Constant Detail

      • START

        public static final ElementAlign START
        the property sets the start alignment.
      • CENTER

        public static final ElementAlign CENTER
        the property sets the center alignment.
      • END

        public static final ElementAlign END
        the property sets the end alignment.
    • Method Detail

      • values

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

        public static ElementAlign 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
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property
      • getHorizontalAlignmentValue

        public String getHorizontalAlignmentValue()
        Returns the CSS value for horizontal alignment in the HTML element style.
        Returns:
        the CSS value for horizontal alignment in the HTML element style