Enum VerticalAlignment

java.lang.Object
java.lang.Enum<VerticalAlignment>
com.smartgwt.client.types.VerticalAlignment
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<VerticalAlignment>, Constable

public enum VerticalAlignment extends Enum<VerticalAlignment> implements ValueEnum
  • Enum Constant Details

    • TOP

      public static final VerticalAlignment TOP
      At the top of the container

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "top".

    • CENTER

      public static final VerticalAlignment CENTER
      Center within container.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "center".

    • BOTTOM

      public static final VerticalAlignment BOTTOM
      At the bottom of the container

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "bottom".

  • Method Details

    • values

      public static VerticalAlignment[] values()
      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 VerticalAlignment 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
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum