Package com.smartsheet.api.models.enums
Enum PaperSize
- java.lang.Object
-
- java.lang.Enum<PaperSize>
-
- com.smartsheet.api.models.enums.PaperSize
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A0
Represents the A0 page size.A1
Represents the A1 page size.A2
Represents the A2 page size.A3
Represents the A3 page size.A4
Represents the A4 page size.ARCHD
Represents the ARCHD page size.LEGAL
Represents the LEGAL page size.LETTER
Represents the LETTER page size.WIDE
Represents the WIDE page size.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaperSize
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaperSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LETTER
public static final PaperSize LETTER
Represents the LETTER page size.
-
LEGAL
public static final PaperSize LEGAL
Represents the LEGAL page size.
-
WIDE
public static final PaperSize WIDE
Represents the WIDE page size.
-
ARCHD
public static final PaperSize ARCHD
Represents the ARCHD page size.
-
A4
public static final PaperSize A4
Represents the A4 page size.
-
A3
public static final PaperSize A3
Represents the A3 page size.
-
A2
public static final PaperSize A2
Represents the A2 page size.
-
A1
public static final PaperSize A1
Represents the A1 page size.
-
A0
public static final PaperSize A0
Represents the A0 page size.
-
-
Method Detail
-
values
public static PaperSize[] 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 (PaperSize c : PaperSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaperSize 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
-
-