Package com.smartsheet.api.models.format
Enum VerticalAlignment
- java.lang.Object
-
- java.lang.Enum<VerticalAlignment>
-
- com.smartsheet.api.models.format.VerticalAlignment
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerticalAlignment>
public enum VerticalAlignment extends java.lang.Enum<VerticalAlignment>
An enumeration representing the available vertical alignments within Smartsheet.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
DEFAULT_ALIGNMENT
MIDDLE
TOP
-
Field Summary
Fields Modifier and Type Field Description static VerticalAlignment
DEFAULT
The default setting when theFormat
forVerticalAlignment
is null;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPosition()
static VerticalAlignment
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerticalAlignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_ALIGNMENT
public static final VerticalAlignment DEFAULT_ALIGNMENT
-
TOP
public static final VerticalAlignment TOP
-
MIDDLE
public static final VerticalAlignment MIDDLE
-
BOTTOM
public static final VerticalAlignment BOTTOM
-
-
Field Detail
-
DEFAULT
public static final VerticalAlignment DEFAULT
The default setting when theFormat
forVerticalAlignment
is null;
-
-
Method Detail
-
values
public static VerticalAlignment[] 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 (VerticalAlignment c : VerticalAlignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerticalAlignment 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 namejava.lang.NullPointerException
- if the argument is null
-
getPosition
public java.lang.String getPosition()
- Returns:
- the position
-
-