public static enum Bell.Attachment extends Enum<Bell.Attachment>
Enum Constant and Description |
---|
CEILING
Placed on ceiling.
|
DOUBLE_WALL
Placed between two walls.
|
FLOOR
Placed on floor.
|
SINGLE_WALL
Placed on one wall.
|
Modifier and Type | Method and Description |
---|---|
static Bell.Attachment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bell.Attachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bell.Attachment FLOOR
public static final Bell.Attachment CEILING
public static final Bell.Attachment SINGLE_WALL
public static final Bell.Attachment DOUBLE_WALL
public static Bell.Attachment[] values()
for (Bell.Attachment c : Bell.Attachment.values()) System.out.println(c);
public static Bell.Attachment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.