Enum Border
- All Implemented Interfaces:
Serializable
,Comparable<Border>
The points at which the four logical flows end.
- Author:
- Garret Wilson
- See Also:
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Border
Determines the border from the flow and end.getEnd()
getFlow()
static Border
Returns the enum constant of this type with the specified name.static Border[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LINE_NEAR
The left side in left-to-right top-to-bottom orientation. -
LINE_FAR
The right side in left-to-right top-to-bottom orientation. -
PAGE_NEAR
The top side in left-to-right top-to-bottom orientation. -
PAGE_FAR
The bottom side in left-to-right top-to-bottom orientation.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getFlow
- Returns:
- The flow.
-
getEnd
- Returns:
- The end.
-
getBorder
Determines the border from the flow and end.- Parameters:
flow
- The flowend
- The end.- Returns:
- The border for the specified flow and page end.
- Throws:
NullPointerException
- if the given flow and/or end isnull
.
-