hmi.bml
Enum BMLSync
java.lang.Object
java.lang.Enum<BMLSync>
hmi.bml.BMLSync
- All Implemented Interfaces:
- Serializable, Comparable<BMLSync>
public enum BMLSync
- extends Enum<BMLSync>
Standard BML synchronization points
- Author:
- welberge
START
public static final BMLSync START
READY
public static final BMLSync READY
STROKE_START
public static final BMLSync STROKE_START
STROKE
public static final BMLSync STROKE
STROKE_END
public static final BMLSync STROKE_END
RELAX
public static final BMLSync RELAX
END
public static final BMLSync END
id
private String id
idToSync
private static Map<String,BMLSync> idToSync
values
public static BMLSync[] 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 (BMLSync c : BMLSync.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BMLSync 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 name
NullPointerException - if the argument is null
isBefore
public boolean isBefore(BMLSync s)
isAfter
public boolean isAfter(BMLSync s)
isBMLSync
public static boolean isBMLSync(String id)
getId
public String getId()
get
public static BMLSync get(String id)
toString
public String toString()
- Overrides:
toString in class Enum<BMLSync>