Enum Door.OperationType
- All Implemented Interfaces:
Serializable
,Comparable<Door.OperationType>
,java.lang.constant.Constable
- Enclosing interface:
- Door
public static enum Door.OperationType extends Enum<Door.OperationType>
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
Nested Classes Modifier and Type Class Description static class
Door.OperationType.OpeningSide
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 Constants Enum Constant Description DOUBLE_DOOR_DOUBLE_SWING
Door with two panels that swing in both directions.DOUBLE_DOOR_FOLDING
Door with two folding panels.DOUBLE_DOOR_SINGLE_SWING
Door with two panels that open in the same direction.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT
Door with two panels that swing in opposite directions.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT
Door with two panels that swing in opposite directions.DOUBLE_DOOR_SLIDING
Door with two sliding panels.DOUBLE_SWING_LEFT
Door with one panel that swings in both directions.DOUBLE_SWING_RIGHT
Door with one panel that swings in both directions.FOLDING_TO_LEFT
Door with one folding panel.FOLDING_TO_RIGHT
Door with one folding panel.REVOLVING
Revolving door.ROLLINGUP
Door that opens by rolling up.SINGLE_SWING_LEFT
Door with one panel and the hinge on the left side.SINGLE_SWING_RIGHT
Door with one panel and the hinge on the right side.SLIDING_TO_LEFT
Door with one sliding panel.SLIDING_TO_RIGHT
Door with one sliding panel.UNDEFINED
A door with undefined operation type is considered a door with lining but no panels.USERDEFINED
Operation of door is specified by user. -
Method Summary
Modifier and Type Method Description Door.OperationType.OpeningSide
getOpeningSide()
Returns the opening side of the door operation type.static Door.OperationType
valueOf(String name)
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
-