Package com.structurizr.view
Enum Class PaperSize
- All Implemented Interfaces:
Serializable
,Comparable<PaperSize>
,Constable
These represent paper sizes in pixels at 300dpi.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getName()
getOrderedPaperSizes
(PaperSize.Orientation orientation) int
getWidth()
static PaperSize
Returns the enum constant of this class with the specified name.static PaperSize[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
A6_Portrait
-
A6_Landscape
-
A5_Portrait
-
A5_Landscape
-
A4_Portrait
-
A4_Landscape
-
A3_Portrait
-
A3_Landscape
-
A2_Portrait
-
A2_Landscape
-
A1_Portrait
-
A1_Landscape
-
A0_Portrait
-
A0_Landscape
-
Letter_Portrait
-
Letter_Landscape
-
Legal_Portrait
-
Legal_Landscape
-
Slide_4_3
-
Slide_16_9
-
Slide_16_10
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
-
getOrientation
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getOrderedPaperSizes
-
getOrderedPaperSizes
-