Enum Door.OperationType
- java.lang.Object
-
- java.lang.Enum<Door.OperationType>
-
- com.solibri.smc.api.model.components.Door.OperationType
-
- All Implemented Interfaces:
Serializable
,Comparable<Door.OperationType>
- 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 (seeDoor.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.
-
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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
SINGLE_SWING_LEFT
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType 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
public static final Door.OperationType DOUBLE_DOOR_DOUBLE_SWING
Door with two panels that swing in both directions.- Since:
- 9.10.2
-
SLIDING_TO_LEFT
public static final Door.OperationType SLIDING_TO_LEFT
Door with one sliding panel. The panel slides to the left side.- Since:
- 9.10.2
-
SLIDING_TO_RIGHT
public static final Door.OperationType SLIDING_TO_RIGHT
Door with one sliding panel. The panel slides to the right side.- Since:
- 9.10.2
-
DOUBLE_DOOR_SLIDING
public static final Door.OperationType DOUBLE_DOOR_SLIDING
Door with two sliding panels.- Since:
- 9.10.2
-
FOLDING_TO_LEFT
public static final Door.OperationType FOLDING_TO_LEFT
Door with one folding panel. The panel folds to the left side.- Since:
- 9.10.2
-
FOLDING_TO_RIGHT
public static final Door.OperationType FOLDING_TO_RIGHT
Door with one folding panel. The panel folds to the right side.- Since:
- 9.10.2
-
DOUBLE_DOOR_FOLDING
public static final Door.OperationType DOUBLE_DOOR_FOLDING
Door with two folding panels.- Since:
- 9.10.2
-
REVOLVING
public static final Door.OperationType REVOLVING
Revolving door.- Since:
- 9.10.2
-
ROLLINGUP
public static final Door.OperationType ROLLINGUP
Door that opens by rolling up.- Since:
- 9.10.2
-
USERDEFINED
public static final Door.OperationType USERDEFINED
Operation of door is specified by user.- Since:
- 9.10.2
-
UNDEFINED
public static final Door.OperationType 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 Detail
-
values
public static Door.OperationType[] 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 (Door.OperationType c : Door.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Door.OperationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getOpeningSide
public Door.OperationType.OpeningSide getOpeningSide()
Returns the opening side of the door operation type.- Returns:
- the opening side of the door operation type
- Since:
- 9.10.2
-
-