Enum Door.OperationType
- All Implemented Interfaces:
Serializable
,Comparable<Door.OperationType>
,java.lang.constant.Constable
- Enclosing interface:
- Door
Describes the opening operation and direction of a door. The side of the hinges is defined by the reference
direction (see
Door.getReferenceDirection()
) of the door.- Since:
- 9.10.2
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Defines the opening side of a door when the door is viewed in the reference direction.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDoor with two panels that swing in both directions.Door with two folding panels.Door with two panels that open in the same direction.Door with two panels that swing in opposite directions.Door with two panels that swing in opposite directions.Door with two sliding panels.Door with one panel that swings in both directions.Door with one panel that swings in both directions.Door with one folding panel.Door with one folding panel.Revolving door.Door that opens by rolling up.Door with one panel and the hinge on the left side.Door with one panel and the hinge on the right side.Door with one sliding panel.Door with one sliding panel.A door with undefined operation type is considered a door with lining but no panels.Operation of door is specified by user. -
Method Summary
Modifier and TypeMethodDescriptionReturns the opening side of the door operation type.static Door.OperationType
Returns the enum constant of this type with the specified name.static Door.OperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SINGLE_SWING_LEFT
Door with one panel and the hinge on the left side. The panel swings only in the reference direction of the door.- Since:
- 9.10.2
-
SINGLE_SWING_RIGHT
Door with one panel and the hinge on the right side. The panel swings only in the reference direction of the door.- Since:
- 9.10.2
-
DOUBLE_DOOR_SINGLE_SWING
Door with two panels that open in the same direction. The panels swing only in the reference direction of the door.- Since:
- 9.10.2
-
DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT
Door with two panels that swing in opposite directions. The panel on the left opens in the reference direction of the door.- Since:
- 9.10.2
-
DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT
Door with two panels that swing in opposite directions. The panel on the right opens in the reference direction of the door.- Since:
- 9.10.2
-
DOUBLE_SWING_LEFT
Door with one panel that swings in both directions. The hinge is on the left side of the door.- Since:
- 9.10.2
-
DOUBLE_SWING_RIGHT
Door with one panel that swings in both directions. The hinge is on the right side of the door.- Since:
- 9.10.2
-
DOUBLE_DOOR_DOUBLE_SWING
Door with two panels that swing in both directions.- Since:
- 9.10.2
-
SLIDING_TO_LEFT
Door with one sliding panel. The panel slides to the left side.- Since:
- 9.10.2
-
SLIDING_TO_RIGHT
Door with one sliding panel. The panel slides to the right side.- Since:
- 9.10.2
-
DOUBLE_DOOR_SLIDING
Door with two sliding panels.- Since:
- 9.10.2
-
FOLDING_TO_LEFT
Door with one folding panel. The panel folds to the left side.- Since:
- 9.10.2
-
FOLDING_TO_RIGHT
Door with one folding panel. The panel folds to the right side.- Since:
- 9.10.2
-
DOUBLE_DOOR_FOLDING
Door with two folding panels.- Since:
- 9.10.2
-
REVOLVING
Revolving door.- Since:
- 9.10.2
-
ROLLINGUP
Door that opens by rolling up.- Since:
- 9.10.2
-
USERDEFINED
Operation of door is specified by user.- Since:
- 9.10.2
-
UNDEFINED
A door with undefined operation type is considered a door with lining but no panels. It is thereby always open.- Since:
- 9.10.2
-
-
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
-
getOpeningSide
Returns the opening side of the door operation type.- Returns:
- the opening side of the door operation type
- Since:
- 9.10.2
-